summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
Diffstat (limited to 'git')
-rw-r--r--git/config139
-rw-r--r--git/ignore29
2 files changed, 168 insertions, 0 deletions
diff --git a/git/config b/git/config
new file mode 100644
index 0000000..ffab2d5
--- /dev/null
+++ b/git/config
@@ -0,0 +1,139 @@
+[user]
+ name = Alexander Kiryukhin
+ email = a.kiryukhin@mail.ru
+ signingkey = 1F234ED9217CA16DE1ACBA686DF7A2910D0699E9
+
+[alias]
+ co = checkout
+ ci = commit
+ st = status
+ br = branch
+ hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
+ type = cat-file -t
+ dump = cat-file -p
+
+[http]
+ sslVerify = false
+
+[commit]
+ gpgsign = true
+ verbose = true
+
+[branch]
+ autosetuprebase = always
+
+[help]
+ autocorrect = 1
+
+[filter "media"]
+ clean = git-media-clean %f
+ smudge = git-media-smudge %f
+
+[remote "origin"]
+ fetch = +refs/pull/*/head:refs/remotes/origin/pull/*
+
+[receive]
+ fsckObjects = true
+
+[filter "lfs"]
+ clean = git-lfs clean -- %f
+ smudge = git-lfs smudge -- %f
+ process = git-lfs filter-process
+ required = true
+
+[rebase]
+ autoStash = true
+
+[pull]
+ rebase = true
+ recurseSubmodules = on-demand
+
+[fetch]
+ prune = true
+ pruneTags = true
+ output = full
+
+[core]
+ preloadindex = true
+ excludesfile = ~/.gitignore
+ trustctime = false
+ commitGraph = true
+
+[color]
+ ui = auto
+
+[color "diff"]
+ meta = yellow bold
+ commit = green bold
+ frag = magenta bold
+ old = red bold
+ new = green bold
+ whitespace = red reverse
+
+[color "diff-highlight"]
+ oldNormal = red bold
+ oldHighlight = red bold 52
+ newNormal = green bold
+ newHighlight = green bold 22
+
+[color "branch"]
+ current = yellow reverse
+ local = yellow
+ remote = green
+
+[color "status"]
+ added = yellow
+ changed = green
+ untracked = cyan
+
+[diff]
+ indentHeuristic = true
+ algorithm = histogram
+ tool = vimdiff
+
+[log]
+ date = local
+
+[rerere]
+ enabled = true
+
+[pager]
+ color = true
+
+[status]
+ color = true
+ submodulesummary = true
+
+[sendemail]
+ smtpserver = smtp.mail.ru
+ smtpuser = a.kiryukhin@mail.ru
+ smtpserverport = 25
+ smtpencryption = tls
+
+[init]
+ defaultBranch = master
+
+[pager]
+ diff = delta
+ log = delta
+ reflog = delta
+ show = delta
+
+[interactive]
+ diffFilter = delta --color-only --features=interactive
+
+[delta]
+ features = decorations
+
+[delta "interactive"]
+ keep-plus-minus-markers = false
+
+[delta "decorations"]
+ commit-decoration-style = blue ol
+ commit-style = raw
+ file-style = omit
+ hunk-header-decoration-style = blue box
+ hunk-header-file-style = red
+ hunk-header-line-number-style = "#067a00"
+ hunk-header-style = file line-number syntax
+
diff --git a/git/ignore b/git/ignore
new file mode 100644
index 0000000..b055bbe
--- /dev/null
+++ b/git/ignore
@@ -0,0 +1,29 @@
+# Packages
+*.7z
+*.dmg
+*.gz
+*.iso
+*.jar
+*.rar
+*.tar
+*.zip
+
+# Logs and databases
+*.log
+*.sqlite
+
+# OS generated files
+.DS_Store
+.DS_Store?
+._*
+.Spotlight-V100
+.Trashes
+Icon?
+ehthumbs.db
+Thumbs.db
+
+# VS Code
+.vscode
+
+# Ides
+.Idea