aboutsummaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
Diffstat (limited to 'git')
-rw-r--r--git/gitconfig.symlink.example38
-rw-r--r--git/gitignore.symlink3
2 files changed, 41 insertions, 0 deletions
diff --git a/git/gitconfig.symlink.example b/git/gitconfig.symlink.example
new file mode 100644
index 0000000..0f12706
--- /dev/null
+++ b/git/gitconfig.symlink.example
@@ -0,0 +1,38 @@
+# Sample gitconfig
+#
+
+[hub]
+ protocol = https
+[user]
+ name = AUTHORNAME
+ email = AUTHOREMAIL
+[credential]
+ helper = GIT_CREDENTIAL_HELPER
+[alias]
+ co = checkout
+ promote = !$ZSH/bin/git-promote
+ wtf = !$ZSH/bin/git-wtf
+ rank-contributors = !$ZSH/bin/git-rank-contributors
+ count = !git shortlog -sn
+[color]
+ diff = auto
+ status = auto
+ branch = auto
+ ui = true
+[core]
+ excludesfile = ~/.gitignore
+ editor = vim
+[apply]
+ whitespace = nowarn
+[mergetool]
+ keepBackup = false
+[difftool]
+ prompt = false
+[help]
+ autocorrect = 1
+[push]
+ # See `git help config` (search for push.default)
+ # for more information on different options of the below setting.
+ #
+ # Setting to git 2.0 default to suppress warning message
+ default = simple
diff --git a/git/gitignore.symlink b/git/gitignore.symlink
new file mode 100644
index 0000000..6fd41c0
--- /dev/null
+++ b/git/gitignore.symlink
@@ -0,0 +1,3 @@
+.DS_Store
+*~
+*.swp