Skip to content

Instantly share code, notes, and snippets.

@mglaman
Created January 17, 2016 18:22
Show Gist options
  • Save mglaman/09d9b950f51bcad08915 to your computer and use it in GitHub Desktop.
Save mglaman/09d9b950f51bcad08915 to your computer and use it in GitHub Desktop.
TL;DR for rebasing a fork.
> $ cd /path/to/your/fork
> $ git remote add upstream [email protected]:MidCamp/midcamp-website.git
> $ git fetch --prune upstream
> $ git rebease upstream/develop
> $ git push origin develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment