aboutsummaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorCamil Staps2016-05-03 14:42:11 +0200
committerCamil Staps2016-11-30 19:11:43 +0100
commit32c56ba758747198db114dd5097979363b06302a (patch)
tree2e0a673f078b0c7810998a3257fb0095932f611a /git
parentPyLint to recognise py3/py2 based on shebang (diff)
gitconfig
Diffstat (limited to 'git')
-rw-r--r--git/gitconfig.local.example6
-rw-r--r--git/gitconfig.symlink31
2 files changed, 37 insertions, 0 deletions
diff --git a/git/gitconfig.local.example b/git/gitconfig.local.example
new file mode 100644
index 0000000..8f3efc8
--- /dev/null
+++ b/git/gitconfig.local.example
@@ -0,0 +1,6 @@
+[user]
+ name = NAME
+ email = EMAIL
+[credential]
+ helper = CREDENTIAL_HELPER
+
diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink
new file mode 100644
index 0000000..f785d71
--- /dev/null
+++ b/git/gitconfig.symlink
@@ -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