Over a million developers have joined DZone.

Useful Commands to Deal with SVN

Learn how you can maximize big data in the cloud with Apache Hadoop. Download this eBook now. Brought to you in partnership with Hortonworks.

The commands I came across with, while working with svn in Linux.
  • Find and remove all the .svn folders inside a folder - This is useful when we have checkout the code from a svn repo and want to remove it from version control.
    find . -name .svn | xargs rm -rf
    
  • Add a new folder to version control - When we have a folder that is already under version control and want to add a new one inside it.
    svn add
  • Commit the made changes
    svn ci -m "a useful message about the commit"
  • Remove some specific folders like target and IDE specific data from version control, but keep the data in our local machine.
    svn delete --keep-local <file name> 

Hortonworks DataFlow is an integrated platform that makes data ingestion fast, easy, and secure. Download the white paper now.  Brought to you in partnership with Hortonworks

Topics:

Published at DZone with permission of Pushpalanka Jayawardhana, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}