Created
April 27, 2023 16:22
-
-
Save lucis/61b9e502fb3291a01232e2646d06f65a to your computer and use it in GitHub Desktop.
Useful Git alias
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 gp="git pull" | |
alias gpr="git openpr" | |
alias gcb="git checkout -b" | |
alias gc-="git checkout -" | |
alias grm="git rebase main" | |
alias grc="git rebase --continue" | |
alias garc="git add . && git rebase --continue" | |
alias grh="git reset --hard" | |
alias gac="git ac" | |
alias rebasemain="gcm && gp && gc- && grm" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment