Slide 1

Slide 1 text

COMMIT MESSAGES MY MESSAGE ON

Slide 2

Slide 2 text

max @klappradla

Slide 3

Slide 3 text

- DISCLAIMER - OPINIONS

Slide 4

Slide 4 text

GIT

Slide 5

Slide 5 text

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 -

Slide 6

Slide 6 text

WHY GIT?

Slide 7

Slide 7 text

COLLABORATION AND COMMUNICATION

Slide 8

Slide 8 text

A “commit” is a snapshot of your files. - jake boxer • github -

Slide 9

Slide 9 text

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 -

Slide 10

Slide 10 text

COMMIT MESSAGE

Slide 11

Slide 11 text

CASE: INFORMATION MISSING

Slide 12

Slide 12 text

CASE:
 INFORMATION HUNT

Slide 13

Slide 13 text

A MINDSET FOR COMMIT MESSAGES

Slide 14

Slide 14 text

COMMUNICATION IS KEY

Slide 15

Slide 15 text

CONTEXT FOR YOU•OTHERS•FUTURE YOU

Slide 16

Slide 16 text

DIFF -> WHAT MESSAGE -> WHY

Slide 17

Slide 17 text

e8d3db2 fix

Slide 18

Slide 18 text

READ VS. WRITE COMMUNITY VS. AUTHOR

Slide 19

Slide 19 text

MAKE OTHERS’ LIVES EASIER

Slide 20

Slide 20 text

CONTENT OF A COMMIT MESSAGE

Slide 21

Slide 21 text

WHY IS THE CHANGE NECESSARY?

Slide 22

Slide 22 text

HOW DOES THIS ADDRES THE ISSUE?

Slide 23

Slide 23 text

WHAT ARE THE SIDE EFFECTS OF THIS CHANGE?

Slide 24

Slide 24 text

COMMIT MESSAGES AS A COMMUNICATION TOOL

Slide 25

Slide 25 text

THANX! YOU-IN-TWO-WEEKS FUTURE DEVELOPERS

Slide 26

Slide 26 text

GUIDELINES FOR COMMIT MESSAGE

Slide 27

Slide 27 text

SUBJECT BODY

Slide 28

Slide 28 text

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 -

Slide 29

Slide 29 text

The subject line is used all over Git, oftentimes in truncated form if too long of a message was used - tpope -

Slide 30

Slide 30 text

SUBJECT

Slide 31

Slide 31 text

“IF APPLIED, THIS COMMIT WILL ”

Slide 32

Slide 32 text

git commit -m …

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

commit.style BODY

Slide 35

Slide 35 text

.gitmessage

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

TICKET AS SUBJECT: LOOK-ELSEWHERE-PROBLEM

Slide 38

Slide 38 text

MERGE STRATEGIES

Slide 39

Slide 39 text

THINK ABOUT COMMIT MESSAGES git commit -m …