Created
January 2, 2020 17:22
-
-
Save Fitzse/9debd09045649618f867ace503073769 to your computer and use it in GitHub Desktop.
Git Aliases
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
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
unstage = reset HEAD -- | |
amend = commit --amend -C HEAD | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
g = grep --break --heading --line-number | |
hist = log --graph --pretty=format:'%h %ad | %s%d [%an]' --date=short | |
last = log -1 HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment