Created
July 20, 2021 21:12
-
-
Save holtbp/a5f68b741eeff5050dae276ae0535419 to your computer and use it in GitHub Desktop.
Quick helper for rebasing branch on latest master
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
#!/bin/bash | |
git checkout master && git fetch && git rebase origin/master | |
git checkout - && git rebase master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment