我怎么能忽略bin和OBJ文件夹从Git仓库? [英] How could I ignore bin and obj folders from git repository?

查看:362
本文介绍了我怎么能忽略bin和OBJ文件夹从Git仓库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想忽略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

这篇关于我怎么能忽略bin和OBJ文件夹从Git仓库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆