2016-04-02 14 views

risposta

6

La sintesi è la prima riga di un messaggio di commit: riassume il motivo per il commit (perché, non quello)
Vedere "The Art of the Commit"

Il resto va nella descrizione.

enter image description here


Per convenzione, che prima linea non dovrebbe essere più di 50 caratteri:
Vedi this template

# <type>: (If applied, this commit will...) <subject> (Max 50 char) 
# |<---- Using a Maximum Of 50 Characters ---->| 


# Explain why this change is being made 
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| 

# Provide links or keys to any relevant tickets, articles or other resources 
# Example: Github issue #23 

Altri Git GUI fanno enfornce la stessa sintesi/descrizione convenzione , like Atomio:

https://cdn-images-1.medium.com/max/1200/1*dSJ0TgQUPX2ukRwgZi9RBQ.gif

Problemi correlati