Created
March 23, 2021 04:16
-
-
Save JaceTan/26dcdaa516522a5f2a98c70d618435f7 to your computer and use it in GitHub Desktop.
Git Command Shortcuts to paste into .bashrc or .bash_profile
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
# Aliases - Git Shortcuts | |
alias cherrypick="git cherry-pick" | |
alias forcepush="push --force-with-lease" | |
alias gb="git branch" | |
alias gba="gb -a" | |
alias gc="git checkout" | |
alias gs="git status" | |
alias prune="git remote prune origin" | |
alias pull="git fetch && rebase" | |
alias push="git push" | |
alias rebase="git rebase" | |
alias stash="git stash" | |
alias status="git status" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment