Possible Duplicate:
What do “branch”, “tag” and “trunk” mean in Subversion repositories?
I have been reading about SVN controls but I couldn’t find a proper answer for my questions. Please try to be simple when you answer because I don’t understand the complex answer which are already on Google. If you can please provide me an example so that It’s easy to understand. I hope that not being able to understand something and asking for a simple answer is not a crime.
- What’s Branch, Tag, Trunk ?
- Why we should use Branch, Tag, Trunk ?
- How to use Branch, Tag, Trunk properly ?
- When to use Branch, Tag, Trunk ?
Thanks
I’ll try to explain it in a few easy words.
The trunk is the main line of development. This is usually the codebase you start with.
A branch is a seperate line of development. This is what you do when you use the trunks code for a different purpose, project or whatever, without conflicting the trunks code.
A Tag is more like a label, to find something easier in the future.
These features are there to help you managing your codebase, you have to decide yourself when to use what, depending on what your project(s) look like.
Maybe try the wikipedia page for Apache Subversion, it is not too hard to understand. Or check out this great SO post, which poses a similar question. The best source however is the manual itself.