Git: Can I commit my working directory to a new branch without commiting it to a current branch?
- by Noli
Somewhat new at Git..
I am working on a project, and had all of my tests passing on the master branch. I then made some changes, and when everything started failing, I realized that maybe I should have made those changes in a different branch. Is there I way I can commit the changes to a new branch without commiting them to my master branch, so that the master still has my passing tests?