diff options
Diffstat (limited to 'git')
-rw-r--r-- | git/gitconfig.local.example | 6 | ||||
-rw-r--r-- | git/gitconfig.symlink | 31 |
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 |