Last active
February 23, 2019 15:45
-
-
Save huettern/09678666f80205d907b2d3075c130dc2 to your computer and use it in GitHub Desktop.
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 gst='git status ' | |
alias gad='git add ' | |
alias gbr='git branch ' | |
alias gco='git commit ' | |
alias gdi='git diff ' | |
alias gch='git checkout ' | |
alias gpu='git push ' | |
alias glg="git 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" | |
# Git log find by commit message | |
function glf() { git log --all --grep="$1"; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment