Questions tagged [svnignore]

Subversion allows to set a special property "svn:ignore" which causes specified files/directories being ignored when checking in changes to Subversion.

Subversion allows to set a special property "svn:ignore" which causes specified files/directories being ignored when checking in changes to Subversion.

This is done with the subversion propget/propset/propedit commands, i.e.

svn propset svn:ignore build .

will ignore the build-directory from checkins.

svn propedit svn:ignore .

will allow to edit ignores in the currently defined editor.

svn propget svn:ignore

will show the currently set ignores in the current directory.

162 questions
79
votes
2 answers

Is there a concept of global ignores in svn?

Is there a way to setup a global list of Ignores for a SVN Repository or for the SVN Client on the PC? The only reason I'm using tools like Tortoise/Ankh/VisualSVN is because I want to only check in the files I need without all the bin/obj/Resharper…
Michael Stum
  • 177,530
  • 117
  • 400
  • 535
73
votes
11 answers

What Visual Studio files should be ignored by subversion to minimize conflicts?

I am supporting a number of .Net developers who are using Subversion to version control their work, but we have been running into a number of issues that seem to revolve around the additional files that Visual Studio uses to manage projects, do…
cdeszaq
  • 30,869
  • 25
  • 117
  • 173
62
votes
7 answers

Best practices for Subversion and Visual Studio projects

I've recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that's built from a cobbling-together of various programs and scripts written in C and…
Alex Marshall
  • 10,162
  • 15
  • 72
  • 117
57
votes
4 answers

SVN ignore like .gitignore

In Git, if I have a project with lots of projects inside, let's suppose, a lot of Java projects, I can just create a .gitignore file in the root and it will "be respected" in the entire repository. How can I do this for an SVN project? For example,…
caarlos0
  • 20,020
  • 27
  • 85
  • 160
44
votes
5 answers

How do I configure the TortoiseSVN 'Global ignore pattern' properly?

I would like TortoiseSVN (1.5.3) to ignore certain folders, their contents and certain other files wherever they might appear in my directory hierarchy but I cannot get the global ignore string right. Whatever I do, it either adds to much or ignores…
Rory Becker
  • 15,551
  • 16
  • 69
  • 94
37
votes
5 answers

Ignore a folder during SVN updates

If I svn:ignore a really big folder will it improve performance during SVN updates? I have this really massive (>600MB) folder in my project. The files in this folder should not be changing at all. The problem is that every time I call "svn update"…
Christian Schlensker
  • 21,708
  • 19
  • 73
  • 121
35
votes
6 answers

Using svn:ignore to ignore everything but certain files

With the svn:ignore property, is there a way I can specify what I want to ignore based on patterns which I don't want to ignore? In other words, I want to ignore everything but files ending in .xyz. How would I go about doing that (if it's even…
whaley
  • 16,075
  • 10
  • 57
  • 68
31
votes
4 answers

TortoiseSVN - Ignoring files within a folder already in the repository

How do I ignore all files within a folder under source control? /project/published/ is a folder I want to keep /project/published/some_file(s) are files/folders I don't want More Details: Currently when I go to commit changes for my project I see a…
Byran
29
votes
1 answer

git svn show-ignore gives error "command returned error: 1"

I'm trying to migrate a project from SVN to git. This is the command I use: $ git svn clone http://oursvnserver/ --no-metadata -A ../authors-transform.txt --trunk=path/to/trunk --branches=path/to/branches --tags=path/to/tags .…
jpmc26
  • 28,463
  • 14
  • 94
  • 146
29
votes
5 answers

Add to svn:ignore greyed out in subclipse

I have some files which I can't add to svn:ignore using subclipse and I don't know why. The usual reasons for not being able to add files to svn:ignore seem to be that the file is already in the repository or that the folder the file is in hasn't…
Edd
  • 8,402
  • 14
  • 47
  • 73
20
votes
2 answers

SVN: Ignore subfolders

I have a folder say: /user_files, which I want to include in SVN, but there are additional folders underneath it which I don't want to include. Is there a way to use svn:ignore to ignore anything in a folder even if that parent folder is included in…
Mark Steudel
  • 1,662
  • 3
  • 18
  • 31
19
votes
1 answer

How to configure svn ignore settings with git svn?

I know I can configure folders and files for being ignored by subversion using the following commands: svn propset svn:ignore build . // Ignores the build folder. svn propedit svn:ignore . // Opens an editor. Though, I use git svn to checkout a…
JJD
  • 50,076
  • 60
  • 203
  • 339
18
votes
4 answers

TortoiseSVN: How to ignore bin contents from commit

I use TortoiseSVN 1.7.9. How can I ignore / remove contents from /bin folder when I svn commit the project folder? I don't want to commit files such as .dll, .pdb, etc. I put .dll .pdb entry in svn:ignore property but it does not work and these…
Anil Soman
  • 2,443
  • 7
  • 40
  • 64
12
votes
1 answer

How do I svn:ignore with AnkhSVN?

I understand Subversion/AnkhSVN very well at all! Any time I do anything outside of updating and committing, everything blows up in my face. These are my beliefs -- which must be incorrect, because I can't get Ankh to ignore anything. svn:ignore is…
HaterTot
  • 407
  • 8
  • 18
12
votes
3 answers

SVN---Add current directory (.) to changelist

I created a .svnignore file and then set it with the command $ svn propset svn:ignore -R -F .svnignore .. Now my current directory, ., and another subdirectory, figures, are shown as modified. $ svn status M . M figures When I try…
user3371321
  • 253
  • 2
  • 6
1
2 3
10 11