Skip to content

Instantly share code, notes, and snippets.

@JorgenRingen
Created December 29, 2017 14:53
Show Gist options
  • Select an option

  • Save JorgenRingen/a5da10599f4d76475b2f8a7d9fea5751 to your computer and use it in GitHub Desktop.

Select an option

Save JorgenRingen/a5da10599f4d76475b2f8a7d9fea5751 to your computer and use it in GitHub Desktop.
Git update fork
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