I am using Github for Windows as a GUI to manage the Git repository for a Visual Studio C # / MVC project. (The wizard is hosted on bitbucket.org because at the moment it should be closed, but this is not the source of the problem.)
For the first dozen or so clicks, I pushed things bin, obj and Debug to the wizard. However, as other people have many things that naturally caused problems ...
So, I looked at my repository in Windows Explorer and deleted all these temporary files / directories, and made / pushed the changes to the wizard. Then I deleted my repository on my machine and pulled out a new copy. No unwanted things, happy.
Then I downloaded VisualStudio.gitignore from Github recommended to ignore and put it in the root of my repository. (Hope this persists throughout the project?)
However, when I run Github for Windows and commit my local changes, it still finds all / bin, / obj, etc. So, I opened the shell and made "git diff" the only file found was "ProjectOrganics.v11.suo" (which, I believe, is not ignored in the .gitignore file ...
I am wondering if there is a problem with the Github for Windows snap-in that does not take into account .gitignores? Or maybe the wizard still tracks these directories, even though they were deleted in the last commit by the wizard ?? (And I deleted and rebuilt my entire repository on the machine from the master.)
'git rm --cached', , . , Git "dir", , ...
Edit1 - Directory
"projectname" - . - .
./projectname/ (repository root)
.git/
VisualStudio.gitignore (the .gitignore)
ProjectName/ (Solution)
ProjectName.Doman/ (class library)
ProjectName.Web/ (mvc project)
ProjectName.sln
ProjectName.suo
...etc
, bin/obj .Domain .Web. VisualStudio.gitignore - github.