summary refs log tree commit diff
path: root/gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gitconfig33
1 files changed, 33 insertions, 0 deletions
diff --git a/gitconfig b/gitconfig
new file mode 100644
index 0000000..50d6bfd
--- /dev/null
+++ b/gitconfig
@@ -0,0 +1,33 @@
+[color]
+        status = auto
+        branch = auto
+        diff = auto
+
+[i18n]
+        commitencoding = utf-8
+
+[alias]
+        amend = commit --amend
+        br = branch
+        ci = commit
+        co = checkout
+        fixup = rebase -i HEAD~5
+        g = "grep --heading --break"
+        lt = log --oneline --graph --all
+        pending = !GIT_CURRENT_BRANCH=$(git name-rev --name-only HEAD) && git log origin/$GIT_CURRENT_BRANCH..$GIT_CURRENT_BRANCH --oneline
+        pr = pull --rebase
+        st = status  -s
+        stat = show HEAD --stat
+[core]
+        whitespace = trailing-space,space-before-tab
+        excludesfile = ~/.gitignore
+        pager = less -+$LESS -R
+
+[branch]
+        autosetuprebase = remote
+
+[include]
+        path = ~/.gitconfig.private
+
+[http]
+        postBuffer = 524288000