-
I am new to git and minver and was working with a "feature" branch and had tested this new featur it was fine, so I tagged the commit with a version, and then proceed to merge that feature branch to main. I ahd to pull main because other changes from our team, and then merged the feature branch to main. As I said we are still new to git as well, and from what I have read I could have also done: pull main to update, then goto my feature branch and rebase from main to pick up the cnages and replay my commits (but that would again result in new commit id's so wI guess then I would have also lost the tag I had already set. My question is mainly:
Regarding 2 I was wondering (we don't have CI/CD it's a windows .exe that is use on customer computers) so we currently build new "release versions" on a dev machine. Would you set thet tag after merging to main, then set the tag on main, do a build/publish in main and use those artefacts to generate the production release? It's more of a discussion question, not sure whether that is appropriate here.. Feedback welcome :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The answer to question 1 is contextual. It really depends on the needs of your team. The answer to question 2 is simpler: tag the commit you want to release. |
Beta Was this translation helpful? Give feedback.
The answer to question 1 is contextual. It really depends on the needs of your team.
The answer to question 2 is simpler: tag the commit you want to release.