Skip to content

Instantly share code, notes, and snippets.

@karlospn
Created February 12, 2018 16:00
Show Gist options
  • Save karlospn/69f29275705f3047fb9a5071d1a5fc80 to your computer and use it in GitHub Desktop.
Save karlospn/69f29275705f3047fb9a5071d1a5fc80 to your computer and use it in GitHub Desktop.
git clone <repo-destination>
git remote add new-origin <repo-source>
git fetch <repo-source>
git rebase <repo-source>/<branchname>
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment