Created
December 29, 2017 14:53
-
-
Save JorgenRingen/a5da10599f4d76475b2f8a7d9fea5751 to your computer and use it in GitHub Desktop.
Git update fork
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
| If not already added, add remote to original project: git remote add upstream https://github.com/spring-projects/spring-boot | |
| Fetch original project: | |
| git fetch upstream | |
| Rebase the master branch of original project: | |
| git co master | |
| git rebase upstream/master | |
| git push -f origin master | |
| Rebase any feature-branches: | |
| git co feature/abc | |
| git rebase master | |
| git push -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment