Created
February 2, 2018 10:32
-
-
Save labbots/7d9cae8d712f726b814aa8b91b4a8eb5 to your computer and use it in GitHub Desktop.
Git config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = you name | |
email = you_email_address | |
[alias] | |
# nice log output | |
lg = log --graph --pretty=oneline --abbrev-commit --decorate | |
# start git-sh | |
sh = !git-sh | |
[color] | |
# turn on color | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
ui = auto | |
[color "branch"] | |
current = green bold | |
local = green | |
remote = red bold | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = green bold | |
changed = yellow bold | |
untracked = red | |
[color "sh"] | |
branch = yellow | |
workdir = blue bold | |
dirty = red | |
[core] | |
excludesfile = /home/user/.gitignore | |
# two-space tabs | |
pager = less -FXRS -x2 | |
[push] | |
# 'git push' should only do the current branch, not all | |
default = current | |
[branch] | |
# always setup 'git pull' to rebase instead of merge | |
autosetuprebase = always | |
[diff] | |
renames = copies | |
mnemonicprefix = true | |
[cerdential] | |
helper = cache | |
helper = cache | |
[credential] | |
helper = cache --timeout=3600 | |
[diff] | |
tool = meld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment