Skip to content

Instantly share code, notes, and snippets.

@kareraisu
kareraisu / commit.md
Created May 14, 2017 07:04 — forked from abravalheri/commit.md
RFC: Git Commit Message Guidelines

Commit Message Guidelines

In the last few yers, the number of programmers concerned about writting structured commit messages had dramatically grown. As exposed by Tim Pope in article readable commit messages are easy to follow when looking through the project history. Moreover the AngularJS contributing guides introduced conventions that can be used by automation tools to automatically generate useful documentation, or by developpers during debbuging process.

This document borrow some concepts, conventions and even text mainly from these two sources, extending them in order to provide a sensible guideline for writing commit messages.

@kareraisu
kareraisu / .gitconfig
Last active June 30, 2017 19:10
handy git aliases
[push]
default = simple
[alias]
l = log --pretty=format:"%ad\\ %Cblue%h%Cred%d\\ %Cgreen%s\\ %Cblue[%cn]" --graph --decorate --date=short
# list aliases
la = "!git config -l | grep alias | cut -c 7- #"