Answers for "move back to master branch git"

0

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
Posted by: Guest on November-22-2021
0

move a branch back in git

git checkout A
git reset --hard B
git push --force github
Posted by: Guest on June-08-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language