Last active
July 16, 2021 18:05
-
-
Save breckenedge/674d2bc7b4af5c84da8a5d7112942ae1 to your computer and use it in GitHub Desktop.
Git shell 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
# Fragment of shell aliases I use with git | |
alias g="git" | |
alias gb="git for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'" | |
alias gca="git commit --amend" | |
alias gd="git branch -d" | |
alias gD="git branch -D" | |
alias gf="git fetch" | |
alias gfa="git fetch --all" | |
alias gu="git pull" | |
alias gp="git push" | |
alias gpf="git push --force-with-lease" | |
alias gs="git status" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment