Last active
August 13, 2019 19:16
-
-
Save adumont/1380188 to your computer and use it in GitHub Desktop.
Git Global config (~/.gitconfig)
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
[color] | |
ui = auto | |
[user] | |
name = Alexandre Dumont | |
email = adumont@gmail.com | |
[alias] | |
st = status | |
ci = commit | |
br = branch | |
ba = branch -a | |
co = checkout | |
df = diff | |
cl = config -l --local | |
lg = log -p | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit | |
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
ls = ls-files | |
fdiff = diff-tree --name-status -r | |
[color "diff"] | |
whitespace = red reverse | |
[core] | |
# whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
[branch] | |
autosetuprebase = always | |
# for git version >=1.8 only | |
#[push] | |
# default = simple | |
[merge] | |
tool = vimdiff | |
[mergetool] | |
keepBackup = false | |
[push] | |
default = simple | |
[core] | |
autocrlf = input | |
[credential] | |
helper = cache --timeout=604800 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install with (it will overwrite any existing file!)