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:
http://svnbook.red-bean.com/en/1.7/svn.advanced.changelists.html
Written by JD
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Svn
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#