Currently I'm struggeling with the problem, that git produces unstaged files after switching a branch with using git checkout f_refact_reg
.
My tree is currently looking like this:
-------------------------master
|------------------dev
|---f_refact_reg
What I've done:
- I added and commited all changes in the
dev
branch and pushed it to the remote repository - Checked out the
master
branch and mergeddev
- Making a release
- Pushing to the remote branch
- Checking out the
f_refact_reg
branch - Tried to merge
dev
intof_refact_reg
to be up to date. Than this appears:
I've already tried to override those changes or stash them and then remove the stashed files, or just checking the files out. But nothing seems to help.
How does I can solve this issue and why are this files "changed" after simply checking out the branch?
Thank you all!