Created
February 7, 2018 20:49
-
-
Save lichray/818153f6094eac0ed00c0a9caee65fe2 to your computer and use it in GitHub Desktop.
Common git aliases
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
[alias] | |
st = status | |
fix = commit --amend -C HEAD | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative | |
discard = reset HEAD -- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment