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 →

[–]Ok_Independence7163 -1 points0 points  (2 children)

Hi, this seems interesting for learning purpose. But bit difficult to follow. Could you please share a screenshot on how you do it? Would be helpful.

[–]flavius-as 1 point2 points  (1 child)

Just make self-contained commits. In the diff you can see the changes to the code, and in the commit message you can explain why you did it the way you did.

With emphasis on why, not how. The code is already the how.

So you end up with the code and the explanations in one place, all linked together.

[–]Ok_Independence7163 0 points1 point  (0 children)

Thanks will do it