summary refs log tree commit diff
path: root/gitconfig
diff options
context:
space:
mode:
authorFranck Cuny <franck@lumberjaph.net>2015-07-06 11:46:36 -0700
committerFranck Cuny <franck@lumberjaph.net>2015-07-06 11:46:36 -0700
commit3d10fafdfc888b43d91aebf45cb6022f4f3c3203 (patch)
tree61bd8c8475beaa5f86f2e78d1e4d3b7ea625eb84 /gitconfig
parentcreate repository (diff)
downloademacs.d-3d10fafdfc888b43d91aebf45cb6022f4f3c3203.tar.gz
configuration files
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