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:
master
master
Naming will be as follows:
dev
dev/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.patch
dev
Here 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.z
fix/some_wierd_bug/1234
(Branched of from the int
branch)master
branch):
topic/name_of_feature/2345
topic/name_of_feature/Milestonename
fix/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.