I recently started using GIT in my work, and thought I would give it a shot for some private projects as well. On spotd I have mixed branches and branch-names pretty wildly, and thought that it soon might be time to think about some overall strategy and naming schemes.
So what will my strategies and schemes look like? I don't know yet, I should still have some time to think about it.
But it might be something like this:
mastermasterNaming will be as follows:
devdev/pileon/daemon/spotify where pileon is the usernamefix/, a short name of the branch, and end with a slash and the ticket numberrel/Rmajor.minor.patchdevHere are some example branch names (might conflict with the rules above):
dev/joachimp (Branched of from the master branch)int/Rx.y (Branched of from the master branch)rel/Rx.y (Branched of from the int branch)Rx.y.zfix/some_wierd_bug/1234 (Branched of from the int branch)master branch):
topic/name_of_feature/2345topic/name_of_feature/Milestonenamefix/name_of_feature/3456 (Branched of from the topic branch)This is just some thoughts, and may not follow any best-practices that I know of, but at least it's a start to work from.
Any reader want to chime in with ideas or thoughts?
I edit this post from time to time to update with the latest thoughts and ideas I have.