0

I have a new text file I want to commit to a certain folder in a repo. However the way I understand it, I have to first checkout (create a working copy) of that folder, and then only can I commit this new text file.

Is there any way I can bypass the step of checking out the folder, since the folder has other files in it which are pretty huge in file size.

Daje
  • 33
  • 5
  • Have you looked at answers to these questions? https://stackoverflow.com/questions/122107/checkout-one-file-from-subversion – Siddharth Kaul Mar 15 '22 at 06:10

1 Answers1

0

Thanks to Siddharth Kaul for pointing to another answer which helped!

For anyone stumbling on here and wants an answer, you can do

svn checkout [url] --depth empty

which will checkout the folder without any of the files

Daje
  • 33
  • 5