Reputation: 1231
I have multiple svn code repositories. How do I specify which repository I would like a file or folder to be added to ?
Something like svn add file.php -r repository1
where i would set a flag in order to specify the repository name(repository1) in which i would like the file (file.php) added to.
Upvotes: 0
Views: 827
Reputation: 272752
You don't add files to a repository, you add them to a working copy of that repository (or part of it). You then commit the changes to that working copy. So put the file in the right place in the right working copy, then do svn add
, and then do svn commit
.
Upvotes: 1