I use the successful git workflow, the one with a master, a develop and feature branches.
My problem is, during development, logging lines are not commented. I mean certain code statements that logs several data. Now once a release is ready we comment the logging lines (they are not many but they log a lot of data).
Now once we merge in master and make a tag, we then fast forward develop. Now development starts again and we uncomment the logging lines, causing changes which needs to be committed.
So the problem is whenever a release happens, 2 useless commits are committed, one for commenting the logging lines and one for uncommenting them.
What can we do in order to improve this process?
Aucun commentaire:
Enregistrer un commentaire