Hi!

I want to discuss commit comments policy.

If one developer works on small task, everything is clear - he should add detailed commit comments, and these comments will be pushed in master branch after merge.

1) If developer worked on long time task in separated branch, he could done a lot of intermediate commits. Should he do one result squash commit with one united comment when he merges work branch to master?
(Seems reasonable)

2) But what should we do if few developers worked in same branch on long time task? If one of them does squash commit, comments of another developer will be lost? (and their work will not be visible at all)


Lets define one common policy?


Regards,

Sergey

Reply via email to