Created
August 17, 2017 14:51
-
-
Save petercamfield/73e6b672e17886a0928254d8f297d452 to your computer and use it in GitHub Desktop.
Useful 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
alias gh='history | grep "\sgit\s" | tail' | |
alias gs='git status' | |
alias gl="git log --pretty=format:'%C(yellow)%h %C(blue)%>(12,trunc)%ar %C(magenta)%<(15,trunc)%aN %Creset%s' -10" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Screenshot