I needed to do some feature development on a branch, so I created one and now I've merged it back into trunk.
The question is, what do I do with that branch? What's the wise thing to do? Do I remove it from the repos?
It feels untidy and unnecessary to just leave it there.
A trunk in SVN is main development area, where major development happens. A branch in SVN is sub development area where parallel development on different functionalities happens. After completion of a functionality, a branch is usually merged back into trunk.
To switch back, just provide the URL to the location in the repository from which you originally checked out your working copy: $ svn switch http://svn.red-bean.com/repos/trunk/vendors .
Normally you just leave it there. It's useful for browsing the repository if you want to see specific commits made during that branch in the future (so you don't have to find and browse a revision). If you aren't going to need that anymore, I would recommend tagging it anyway before deleting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With