Last active
October 23, 2024 16:23
-
-
Save DouglasdeMoura/dab697bd3fe1f2c8b324d4113077379a to your computer and use it in GitHub Desktop.
Create git aliases that I like to use
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
# Git | |
alias g=git | |
alias ga='git add' | |
alias gaa='git add --all' | |
alias gb='git branch' | |
alias gc='git commit -m' | |
alias gcam='git commit -a -m' | |
alias gca='git commit --amend' | |
alias gca!='git commit --amend --no-verify' | |
alias gco='git checkout' | |
alias gcb='git checkout -b' | |
alias gp='git pull --prune' | |
alias gpo='git push origin' | |
alias gpo!='git push origin --force-with-lease' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment