Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN how do I check code into a specific branch, when I've checked code out from the trunk?

I need to check in my code changes to a certain branch but im not sure how to do that since my code is from trunk =/

like image 237
qodeninja Avatar asked Nov 28 '22 12:11

qodeninja


1 Answers

cd workingcopy
svn checkout http://my.repos.com/path/to/trunk
# make your edits
svn switch http://my.repos.com/path/to/branch
svn commit

Now your working copy points to the branch instead of the trunk. You could also check out the branch as a separate working copy, then drag-and-drop your changes into it.

like image 111
Michael Hackner Avatar answered Dec 09 '22 09:12

Michael Hackner