Visual Studio 2015 update 2 – Git is showing me in changes all the bin\debug and obj\debug folder/files , why would it be ignoring the gitignore

I had created a new project on a computer with vs 2015 update 2, I commit and sync to visual studio TFS free online repository. Then I had pulled down a clone onto another computer, and after a few days of creating new files etc… I did a rebuild, builds fine, then I go to Team Explorer –> Changes

I’m seeing in Changes, that there are 138 … of which .txt, .dll , .cache, .pdb etc..
Of course I “could” simply not “stage” those , but why would visual studio 2015 (upate 2) even be showing me these files. ( I recall other projects with git / visual studio in which it simply does not show

  • Import a CVS repository into GIT results in some misleading behaviors related to timestamps
  • How do I force git NOT to prompt for credentials
  • git clone hangs forever on github
  • Git fetch a branch once with a normal name, and once with capital letter
  • Why “git fetch origin branch:branch” works only on a non-current branch?
  • Use of git rebase in publicy feature branchs
  •  bin\Debug
    
     obj\Debug
    

    What happened? Why is it doing/showing this?

    (gitignore issue?)

  • Git: Commit to multiple branches at the same time
  • git merge recursive theirs, how does it work?
  • How to find if a branch is a locally tracked branch or user created local branch?
  • git difftool --dir-diff is not creating temp files for Beyond Compare 3 to use
  • Using git filters to ignore a specific line in json file
  • How to disable git push when there are TODOs in code?
  • One Solution collect form web for “Visual Studio 2015 update 2 – Git is showing me in changes all the bin\debug and obj\debug folder/files , why would it be ignoring the gitignore”

    You are going to have to hammer on it from the command line.

    I have not gotten results with the simple delete of .git\ ms-persist.xml
    That file gets re-created..

    1. zip of your project to be sure to not lose any of your files / work on your remote …

    2.

    cmd>
    
    git status   ( i would do this frequently for peace of mind
    
    Keep your 1 or more .gitignore file in the project folder(s)
    
    
    git commit -m "all your files"   (save your code)
    
    git rm -r --cached .     (remove any changed files from index (stage) 
    
    git add .   ( add all files  which will remove .dll etc..
    
    git commit -m "now your gitignore will work..." 
    
    Git Baby is a git and github fan, let's start git clone.