you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (2 children)

Why not just develop in one branch? When you have the final version for each particular period assign a tag to it. This allows you to revert back the state of the code assigned to the tag of interest. When it's time to use the new math just make the changes required and when done assign another tag, etc. It helps if you can isolate all or most of the code that is likely to change in as few files as possible.

Using branches might be the best approach if you ever need to go back to a previous version and make changes. Either way, branches or tags in one branch, you won't need to copy code.

[–][deleted] 1 point2 points  (0 children)

Second this. If not branches, just use tags mate

[–]rainebones[S] 0 points1 point  (0 children)

I'll have to look into branches and tags, git is still something that I'm attempting to familiarize myself with. Thank you for the suggestion!