1

Inside my local master branch I made significant changes. I forgot first to create and switch to my workingbranch before. Now I need this changes on remote branch but not on remote master branch which is still intact.

My question is: what is the best way to copy this local master branch into new workingbranch and then to replicate remote master branch to local one?

Abhishek Aryan
  • 19,936
  • 8
  • 46
  • 65
user1765862
  • 13,635
  • 28
  • 115
  • 220
  • To get better help, you should add an ASCII graph of your repo, like in this [answer](http://stackoverflow.com/questions/25488138/move-initial-commits-off-master-to-another-branch-in-git/25490288#25490288). – jub0bs Apr 11 '17 at 19:23
  • 1
    I'll mark this as a duplicate, but if it's not the same problem, edit the question to provide the relevant details, comment with @torek, and I'll re-open it (or you can just write a new question with the details that distinguish it from the other case). – torek Apr 11 '17 at 19:26

0 Answers0