CVS Ignore Directories
How do you set to ignore folders and all its subdirectories in CVS?
It开发者_如何学C's getting pretty annoying when it commits every file in my \bin, \obj or \TestResult folders.
Tried *\TestResult in the ignore list - to no avail.
you can create a .cvsignore file in your directories. See here for details
In your case the .cvsignore of your project root would look like
bin
obj
TestResult
I also had to add .cvsignore into the .cvsignore file, because
cvs up returned ? .cvsignore
Note that I am using 1.12.13-MirDebian-9
I have tried the way above and it works, except a detail: if you want to ignore a folder, and you have committed this folder to CVS server, you cannot delete this folder and commit to delete it in CVS repository. Eclipse will ignore your delete. You have to:
- Move all files in this folder to another location,
- In Eclipse,
synchronizewith CVS, mark as mergedto all files removed,- they will appear with
-before them.committo delete them in CVS server. - create
.cvsignorefile in this folder, withNew - File, type.cvsignoreas file name, and edit it to match patrons of file names of those you want to ignore. synchronizeagain, tocommitthis.cvsignore.- Move files back to this folder. You are done.
加载中,请稍侯......
精彩评论