Last active
November 25, 2019 22:04
-
-
Save sdemjanenko/89cc18eb911dbb36e65f5ec6c5d5509e to your computer and use it in GitHub Desktop.
Bash 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 gd='git diff' | |
alias gdc='git diff --cached' | |
alias gl='git log --pretty=format:'\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --abbrev-commit' | |
alias gls='git log --stat' | |
alias gg='git grep -n' | |
alias gc='git commit' | |
alias gs='git status' | |
alias gb="git for-each-ref --sort=committerdate refs/heads/ --format='%(refname:short)'" | |
alias gri='git rebase -i ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment