Sometimes when switching branches using Git (version 1.7.2.1)
it does not seem to remove the files/directories I created specific to the branch I switched away from.
Neither does it list it as untracked when running git status
or any log entries for those files.
This only happens occasionally and I'm not sure why or how to reset it so the files not belonging to the current branch gets deleted.
If I delete the files manually, it gets in sync again (as in gets deleted/revived when switching branch).
Anyone experienced this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…