Skip to content

Instantly share code, notes, and snippets.



Created Jun 23, 2016
What would you like to do?
Git config example
email =
name = Your Name
editor = nano
ui = auto
date = local
com = commit
ci = commit
co = checkout
br = branch
brr = branch -r
bra = branch -a
st = status
conflicts = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; subl `f`"
logdiffs = "!f() { git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative "$1".."$2"; }; f"
default = simple

This comment has been minimized.

Copy link
Owner Author

@miphe miphe commented Jun 23, 2016

Edit your global config file with the following command:
git config --global --edit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.