![]() Feel free to develop wild stuff on your branch. Your branch is isolated from the trunk changes and vice-versa. Don’t forget to ignore build-generated files.Ī branch is just a parallel copy of trunk. To add it to your SVN just right-click it and commit. I like to use prefixes, such as feat for features, fix for bug corrections, and ui for user interface tweaks.Īt this time, you have a full copy of your trunk folder at branches/your-branch-name. Use any convention you like - maybe feature-Ticket12345 or something more human-readable as fix-CrashAfterEmptyInput. Then you’ll be asked to name the new folder (actually you’re naming the branch). ![]() ![]() Select SVN Copy and rename versioned item here. If done correctly, a cascade menu will appear. You’re ready to branch your trunk!Ĭlick and hold the right mouse button and drag it over to branches. If your using Tortoise SVN a green checkmark overlay should appear on your folder. All your code, resources, dependencies, and everything else you might need to compile a version of your software should live inside the trunk folder.īefore creating a branch, perform an update on your trunk folder and commit all pending changes. Creationįirst make sure your project follows the standard SVN folder structure, i.e. If you don’t know what branches are and why they’re used for, read this first.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |