I have some files on my local Unix machine that need to be added to a Subversion repository (access via HTTPS). How do I do this?
Doing svn commit in the directory just says it’s not a working directory.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
svn checkout https://example.org/path/to/repo/blehsvn add file1 file2...svn commitI am not aware of a quicker option.
Note: if you are on the same machine as your Subversion repository, the URL can use the
file:specifier with a path in place ofhttps:in thesvn checkoutcommand. For examplesvn checkout file:///path/to/repo/bleh.PS. as pointed out in the comments and other answers, you can use something like
svn import . <URL>if you want to recursively import everything in the current directory. With this option, however, you can’t skip over some of the files; it’s all or nothing.