我怎么能忽略bin和OBJ文件夹从Git仓库?文件夹、仓库、我怎么能、OBJ

2023-09-04 01:35:19 作者:[良辰與良人]

我想忽略bin和OBJ文件夹从我的git仓库。当我发现了,有没有简单的方法来做到这一点的.gitignore。那么,还有没有其他办法?在Visual Studio中使用干净的解决方案?

I want to ignore bin and obj folders from my git repository. As I've found out, there is no easy way to do this in .gitignore. So, are there any other way? Using clean solution in Visual Studio?

推荐答案

我不知道为什么,这并不为你工作。如果有帮助,这里是从我的Visual Studio / git的项目,一个典型的.gitignore文件:

I'm not sure why this doesn't work for you. In case it helps, here's a typical .gitignore file from one of my Visual Studio/git projects:

*.suo
*.user
_ReSharper.*
bin
obj
packages
 
精彩推荐
图片推荐