Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git move change from master to new branch

git stash						//you can stash the changes in the master branch .
git checkout -b newbranchname	//then checkout the branch
git stash pop					//and pop the changes here
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #move #change #master #branch
ADD COMMENT
Topic
Name
5+9 =