Last active
May 20, 2021 09:29
-
-
Save kcelsi/2268669d2faae576f4a9a004ff84e182 to your computer and use it in GitHub Desktop.
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 gs='git status ' | |
alias ga='git add ' | |
alias gb='git branch ' | |
alias gc='git commit' | |
alias gd='git diff' | |
alias gco='git checkout ' | |
alias gsw='git switch ' | |
alias gp='git push ' | |
alias gpl='git pull' | |
alias gf='git fetch ' | |
alias gl='git log ' | |
alias ghist='git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short' | |
alias gbclean='git branch --merged | egrep -v "(^\*|master|main|dev)" | xargs git branch -d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment