Search code examples
gitvisual-studiogithubbonobo

.gitignore File Not Working With Bonobo


I set up a Bonobo Git server in IIS and have it working on my local computer. However, the .gitignore file is not working. I'm using the GitHub Windows client and this ignore file. I want the bin and obj folders ignored, but they are showing up as changed folders every time I do a build in Visual Studio. Any thoughts?


Solution

  • If they are showing up as changed (and not added), they were already in the repository before you added the .gitignore file. So you need to remove them from the repo by either a) deleting them from your local box and committing, or b) using git rm --cached on them.