Skip to content

Instantly share code, notes, and snippets.

@nodesocket
Last active December 14, 2015 03:49
Show Gist options
  • Save nodesocket/5023502 to your computer and use it in GitHub Desktop.
Save nodesocket/5023502 to your computer and use it in GitHub Desktop.
## GitHub Commit Message Tricks

GitHub Commit Message Tricks

@username

References a user in a commit message.

@ryah I am working on it.

An issue id

Referene a particular issue by id.

I see the problem with #33.

close or closes or closed or fixes or fixed

Auto close an issue.

fixes #33

An md5 hash

Reference a particular commit by md5 hash.

e87947412f9b80d1c89e71541f8322a822301245 is working.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment