Let's say I want to set the svn:ignore property for directory dir1 with multiple values, file1, file2, and file3. How can I do this via command line, without using a text editor (to set the property value)?
51
votes
5 Answers
57
votes
Type exactly like here with line breaks:
svn propset svn:ignore "file1
file2
file3" dir1
If you want to pass a list from another command, try xargs
.
Unfortunately, the svn command doesn't allow reading from stdin
with -F -
.
18
votes
15
votes