Last Updated: February 25, 2016
· frisocki

SVN changelist and selective commit

For those still living in an SVN world,

When you have a multitude of modified files in your working copy, and want to commit all but 1 or 2 files without all the hand typing, enter changelists.

$ svn status
M file01
M ...
M file100
M file_not_ready_for_commit

// This will add all working copy files, can be adjusted to add only relevant files
$ svn changelist mychangelist -R .

// Remove the nascent one(s)
$ svn changelist mychangelist --remove file_not_ready_for_commit

// Commit only the files in the changelist
$ svn commit --changelist mychangelist

For all the details: