I did some work on the wrong branch; I forgot to check out the right branch. Is it possible to change to the other branch and commit my changes there?
Asked
Active
Viewed 1.5k times
2 Answers
1
When my changes are not comitted yet. I could just checkout the right branch. The changes will be still there. Just checkout the-right-branch and then you can commit your changes in the-right-branch.
Thanks all for reacting.
Ravenix
- 291