Last active
February 9, 2016 14:48
-
-
Save gitconfig/7006828 to your computer and use it in GitHub Desktop.
~/.gitconfig best practices
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 = Firstname Lastname | |
email = [email protected] | |
[alias] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
df = diff | |
lg = log -p | |
unc = reset --soft HEAD^ | |
pom = push origin master | |
la = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
[color] | |
ui = auto | |
[merge] | |
conflictstyle = diff3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment