Git Best Practices
Laucha

Laucha

calendar iconAug 05, 2022

Git Best Practices

How to Keep Commit Messages Short but Helpful

Within your commits, you can include a commit description, allowing us to add even more detail / context as to what you did.

Add an empty line underneath the commit message, and begin writing a description on line 3. It looks like this:

fix issue with login buttton not showing - update login form validation - update login styling for showing the button

Now when other devs are reviewing Git logs, commits, or needing to revert code they have a better indication of what effect will take place, and whether it will cause any breaking changes.

image-29.png

Laucha

Laucha

Admin

Leave a Reply

Related Posts

Categories