Upgrade to Pro — share decks privately, control downloads, hide ads and more …

My Message on Commit Messages

Max Mulatz
January 04, 2019

My Message on Commit Messages

Building and maintaining software is a collaborative effort and version control systems play a core role in supporting people in this. With this talk I want to raise awareness for the importance of commit messages, invite people to embrace them as communication tools and give some ideas on how to approach them and develop the respective mindset for writing useful commit messages.

The talk was given at RUG::B 01/2018

Max Mulatz

January 04, 2019
Tweet

More Decks by Max Mulatz

Other Decks in Programming

Transcript

  1. GIT

  2. Git is a fast, scalable, distributed revision control system with

    an unusually rich command set that provides both high-level operations and full access to internals. - git man page -
  3. Stores the current contents of the index in a new

    commit along with a log message from the user describing the changes. - git man page | git commit -
  4. The subject/body distinction may seem unimportant but it’s one of

    many subtle factors that makes Git history so much more pleasant to work with than Subversion. - tpope -
  5. The subject line is used all over Git, oftentimes in

    truncated form if too long of a message was used - tpope -