I have a problem with Git for Windows.
I have two branches in one project: master
and membership
. The problem is that, when I modify a file in the membership
branch and switch back to master
, I still have the modification. The membership
branch is a local branch.
If I commit when the master
is the active branch, changes are committed to master. If I push when membership
is the active branch, a remote branch is created for membership
(which is what I want).
I have tried switching branches but it didn't worked.