Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Mar 8th, 2018 240 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. git clone
  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