I have my project folder - Project. In Project I have other sub projects - SUBPROJECT1, SUBPROJECT2, SUBPROJECT3.
In each sub project I have folders, among which I have BIN and OBJ. However, I want the latter to be ignored such that when I commit I don`t have the changes made to BIN and OBJ. How can I do that?
You'll need to edit your .hgignore
file, and include the following lines:
glob:bin\ glob:obj\
You probably want at least these other things as well:
glob:*.user glob:*.suo glob:_ReSharper.*\
There's other examples out there of more complete .hgignore
files.
使用.hgignore
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.