aboutsummaryrefslogtreecommitdiff
path: root/git/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to 'git/.gitconfig')
-rw-r--r--git/.gitconfig31
1 files changed, 31 insertions, 0 deletions
diff --git a/git/.gitconfig b/git/.gitconfig
new file mode 100644
index 0000000..cd10b26
--- /dev/null
+++ b/git/.gitconfig
@@ -0,0 +1,31 @@
+# Sample gitconfig
+#
+
+[include]
+ path = ~/.gitconfig.local
+
+[hub]
+ protocol = https
+[alias]
+ count = !git shortlog -sn
+[color]
+ diff = auto
+ status = auto
+ branch = auto
+ ui = true
+[core]
+ excludesfile = ~/.gitignore
+ editor = vim
+ whitespace = blank-at-eol,blank-at-eof,space-before-tab,tab-indent
+[apply]
+ whitespace = error
+[mergetool]
+ keepBackup = false
+[difftool]
+ prompt = false
+[help]
+ autocorrect = 1
+[commit]
+ gpgsign = 1
+[push]
+ default = simple