Git by Patrik

Changes in a feature branch instead of master

I made changes to the master branch which should be in a feature branch

git stash   # save local changes to the stash
git checkout -b feature/my-new-feature
git stash pop # put back local changes on the new branch

Comments