Ignore all folders with a certain name in SVN (subversion), how to?
I am fairly new to Subversion and was wondering how exactly to ignore all folders by a specific name. From what I have read, I think I need to use the svn:ignore
function, but I have no clue on how to actually do this. Some places mention a config file.. some say command prompt.
I have my subversion repo set up on a windows 2008 server. I tried to go to command prompt and type svn:ignore name
but that didnt work. The开发者_高级运维 tutorial I used to set up my repo (with apache 2.2) had me create an etc folder in c:/. There I have subversion.conf, svn-acl and svn-auth-file.
My subversion.conf file includes this:
<Location /btp>
DAV svn
SVNPath C:/Files/Work/Repositories/btp
AuthType Basic
AuthName "By The Pixel Repo"
AuthUserFile c:/etc/svn-auth-file
Require valid-user
AuthzSVNAccessFile c:/etc/svn-acl
</Location>
The client I use for my development machines is tortoisesvn.
Im a bit of a noob so any help is appreciated it! Thanks.
See the docs on properties
: svn:ignore
is a property, so you can set it with svn propset
as a command, edit it with svn propedit
, etc. Halfway down the page at that URL you'll find the precise docs for special property svn:ignore
.
In TortoiseSVN the way to do it is
- Right-click on working copy
- TortoiseSVN --> Properties
- New
- svn:ignore
The above is for a particular folder that you have checked out. If you want to globally ignore something all the time for your Subversion installation go to
- TortoiseSVN Settings
- General
- Global ignore pattern
精彩评论