Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion: commit only modified files

I want to commit a large amount of XML files which have been modified. However, within the directory that I want to recursively search through, there are many folders/files which have been added locally, these I do not want to commit.

Is there a way to do this on the command line?

Update: I should have included the SVN version info: svn, version 1.4.6 (r28521), compiled Mar 11 2008, 08:26:35

P.S. I'd be interested in answers which include how to force the commit, e.g. even if files have been locked.

like image 877
Grundlefleck Avatar asked Jan 22 '26 21:01

Grundlefleck


1 Answers

Have you tried using an svn:ignore property on the local files/folders? But unless you svn add them, they won't get committed...

typically --force will allow you to steal the file lock.

like image 114
whoisjake Avatar answered Jan 26 '26 09:01

whoisjake



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!