Created
June 17, 2025 05:00
-
-
Save will-molloy/13800598a9844bb6b57183c94eab6b64 to your computer and use it in GitHub Desktop.
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 gitm="git checkout main && git pull" | |
alias gitp="git pull origin \$(git rev-parse --abbrev-ref HEAD)" | |
alias gitr="git fetch origin && git rebase origin \$(git rev-parse --abbrev-ref HEAD)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment