Created
January 6, 2023 10:12
-
-
Save bradleymarques/e5848f692813d2dd461dade0b9b0af13 to your computer and use it in GitHub Desktop.
zshrc 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 gs="git status" | |
alias gpush="git push origin" | |
alias gpull="git pull origin" | |
alias glog="git log" | |
alias gaa="git add --all" | |
alias gcm="git commit -m" | |
alias gfap="git fetch --all --prune" | |
alias gclean="git branch --merged >/tmp/merged-branches && \ | |
vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment