Open minds leads to freedom

Communicating my thoughts on software development

Undo svn add operation

Posted by rnaufal on 20th June 2012

If you want to cancel an svn add operation, do not use svn delete or svn remove, according to this post. You can issue the following command to undo a svn add:

svn revert --recursive your_folder

This tip was very useful for me today :-)

Tags: , , ,
Posted in Uncategorized | No Comments »

Checkout only one file from Subversion

Posted by rnaufal on 20th June 2012

I was wondering how to checkout only one folder/file from SVN when I found this interesting tip. The command I issued to do it is the following:

svn co –depth empty

The above command checkout only one versioned directory, with its content empty. Now it’s possible to add other files and directories under the directory who was checked out.

Tags: , , , ,
Posted in Uncategorized | No Comments »