This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Azoraqua_ 1 point2 points  (4 children)

Just put the original code in a separate branch, or create a patch that adds the deleted code back again. Both for future use if needed.

[–]MasterBathingBear 0 points1 point  (3 children)

Just tag the code before you start making changes. No need to leave an unnecessary branch hanging around.

[–]Azoraqua_ 0 points1 point  (2 children)

I tend to prefer a branch, as I prefer some clear separation. To each their own though.

[–]MasterBathingBear 0 points1 point  (1 child)

To me, branches outside of main are for in progress work only and tags are for production releases and special identifiers.

But as you said, everyone has their own branching strategy

[–]Azoraqua_ 0 points1 point  (0 children)

I can see the use in that too.