Last active
July 19, 2023 23:11
-
-
Save larouxn/3bc34f8952b5753461a023e89d63e12c to your computer and use it in GitHub Desktop.
π’ rebasecity branch_name π
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
rebasecity() { git fetch origin main && git checkout "$@" && git rebase origin/main && git push origin --force-with-lease "$@"; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment