summaryrefslogtreecommitdiffstats
path: root/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig40
1 files changed, 40 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 0000000..aa5c1fc
--- /dev/null
+++ b/.gitconfig
@@ -0,0 +1,40 @@
+[color]
+ ui = true
+ status = auto
+ branch = auto
+[core]
+ editor = vim
+ excludesfile = ~/.gitignore_global
+[merge]
+ tool = vimdiff
+[user]
+ name = a14m
+ username = a14m
+ signingkey = 7A690E8DFE36C63A99355B1B76296F290BE3A016
+; [branch]
+ ; autosetuprebase = always
+[diff]
+ algorithm = patience
+[alias]
+ st = status
+ br = branch
+ df = diff
+ co = checkout
+ cm = commit --verbose
+ ls = log --oneline --decorate
+ la = log --oneline --decorate --numstat
+ lg = log --oneline --graph
+ ; ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
+ ; fl = log -u
+ ldf = diff --cached HEAD^
+ wdf = diff --color-words --word-diff-regex='[A-z0-9_]+|[^[:space:]]'
+ ; up = "!git remote update -p; git merge --ff-only @{u}"
+[push]
+ default = current
+[pull]
+ rebase = true
+[fetch]
+ prune = true
+[commit]
+ gpgsign = true