daily pastebin goal


a guest Mar 8th, 2018 227 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. git clone git@github.com:user_a/repo.git
  2. cd repo
  3. git branch -m master old-master
  4. git symbolic-ref HEAD refs/heads/new-master
  5. rm .git/index
  6. git clean -fdx
  7. # add a remote for user_b's repo, call it, say, user_b
  8. git pull user_b master:new-master
  9. git branch -m new-master master
  10. git push origin master
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand