Created
September 20, 2021 11:57
-
-
Save MatejBransky/bb2a8cd85be28d5aa07dc49d13b347e6 to your computer and use it in GitHub Desktop.
Git - keep a feature branch up to date with the master/main branch
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
git checkout main | |
git pull | |
git checkout <feature-branch> | |
git rebase -Xours master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment