I was working on master branch, made some changes and then stashed them. Now, my master is at HEAD.
But now, I want to retrieve these changes but to a new branch which branches from the HEAD version of the master branch.
How do i do this ?
2022-05-27
I was working on master branch, made some changes and then stashed them. Now, my master is at HEAD.
But now, I want to retrieve these changes but to a new branch which branches from the HEAD version of the master branch.
How do i do this ?
Is the standard procedure not working?
git stash savegit branch xxx HEADgit checkout xxxgit stash popShorter:
git stashgit checkout -b xxxgit stash pop