Created
September 27, 2018 13:38
-
-
Save brandonsueur/8a02040ed8b174208562b07419512874 to your computer and use it in GitHub Desktop.
My .gitconfig
This file contains hidden or 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 = Brandon Sueur | |
username = brandonsueur | |
email = [email protected] | |
[core] | |
excludesfile = ~/.gitignore | |
autocrlf = false | |
autoclrf = false | |
[web] | |
browser = google-chrome | |
[color] | |
ui = always | |
diff = always | |
status = always | |
branch = always | |
interactive = always | |
pager = true | |
grep = always | |
decorate = always | |
showbranch = always | |
[color "branch"] | |
current = yellow bold | |
local = green bold | |
remote = cyan bold | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
whitespace = red reverse | |
[color "status"] | |
added = green bold | |
changed = yellow bold | |
untracked = red bold | |
[http] | |
proxy = http://fr-proxy.groupinfra.com:3128/ | |
[log] | |
date = short | |
[format] | |
pretty = '%C(yellow)%h%Creset %C(magenta)%cd%Creset %d %s' | |
[alias] | |
s = status | |
sb = status -s -b | |
############# | |
a = add . | |
b = branch | |
o = checkout | |
############# | |
l = log --oneline --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment