Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to checkout subdirectory from Subversion repository

📅 2014-Aug-12 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ checkout, subversion ⬩ 📚 Archive

Performing checkout on a Subversion repository is easy. However, if a SVN repository is large in size, you might want to checkout a specific subdirectory to work only on the files inside that. This can also be done in SVN.

For example, assume you have a huge repository named foobar and want to checkout only the subdirectory src/joe from it. This can be done as follows:

$ svn checkout --non-recursive http://svnserver/foobar
$ cd foobar
$ svn update src/joe

Tried with: Subversion 1.8.8 and Ubuntu 14.04


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧