Created
October 23, 2013 15:57
-
-
Save EvanK/7121375 to your computer and use it in GitHub Desktop.
If you don't have a `.gitconfig` file in your home directory, create it: touch ~/.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
[user] | |
email = [email protected] | |
name = The name you want showing up in commits | |
[core] | |
editor = vi | |
[push] | |
default = current | |
[color] | |
ui = auto | |
[diff] | |
renames = true | |
[alias] | |
ci = commit | |
co = checkout | |
st = status | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative | |
pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/master" | |
[branch "master"] | |
remote = origin | |
merge = refs/heads/master | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment