Skip to content

Instantly share code, notes, and snippets.

@robertpainsi
robertpainsi / commit-message-guidelines.md
Last active May 3, 2024 11:43
Commit message guidelines

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
@caschbre
caschbre / sample.gitignore
Created February 10, 2013 19:31
Sample .gitignore file for a Drupal project.
# Sensitive information #
#########################
# Ignore configuration files that may contain sensitive information.
# -- Actually going to allow settings files to be committed to git.
# sites/*/settings*.php
sites/*/settings.local.php
# User Generated Content #
##########################
files