Hi,
I’m ellan.
I have two file both are add to repo ignore list. One .vcxprj file and another is .gitignore itself (through add it in file .git/info/exclude). Cause both two files were already tracking, I ran update-index –assume-unchanged <filepah> in the bash. And the “File Status” tab seems OK as Nothing to commit.
and there is output about git status
On branch master
Your branch is behind 'origin/master' by 72 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit, working tree clean
But when I tried to checkout a remote branch of this repo. A error comes up,
error: Your local changes to the following files would be overwritten by checkout:
.gitignore
VS_2012/DSO/DSO/DSO.vcxproj
Please commit your changes or stash them before you switch branches.
The Sourcetree version 2.4.8, Git 2.15.0.1, Win7 x64