here are my branches
aleksey@aleksey:~/Downloads/NTZ/FittingRoom$ git branch -a develop feature/addfriendsblock * feature/getcontacts remotes/origin/develop remotes/origin/master
I created a feature/getcontacts
and worked in it, then made a commit (the work was not finished) ... Then I forgot to switch to feature/addfriendsblock
and continued working in the current branch ...
Now I need to switch to the feature/addfriendsblock
and commit the latest additions in it, since they do not belong to the current feature/getcontacts
, but I get this message
error: Your local changes to the following files would be overwritten by checkout: Application/src/main/AndroidManifest.xml Please, commit your changes or stash them before you can switch branches.
But I do not need to commit the latest changes to the current branch. I need them in feature/addfriendsblock
, how to do it?