Skip to content

Instantly share code, notes, and snippets.

@jbenet
Last active August 29, 2015 14:04
Show Gist options
  • Save jbenet/b8022005075148523ea6 to your computer and use it in GitHub Desktop.
Save jbenet/b8022005075148523ea6 to your computer and use it in GitHub Desktop.
# add my repo as a remote
git remote add jbenet https://github.com/jbenet/go-ipfs
# reset your branch to mine
git checkout master
git fetch jbenet namesys
git reset --hard jbenet/namesys
# you should now be at 955eb51
# update your master
git push -f origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment