Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| #!/usr/bin/env ruby | |
| # pre-commit git hook | |
| # will run rspec if and only if current branch is master | |
| # script adapted from http://book.git-scm.com/5_git_hooks.html | |
| # source : https://gist.github.com/1141992 | |
| NO_COMMIT_MESSAGE = "\aDID NOT COMMIT YOUR FILES!" | |
| FORMAT = :html |
| # .git/hook/pre-commit | |
| #!/bin/sh | |
| # | |
| # Check for ruby style errors | |
| red='\033[0;31m' | |
| green='\033[0;32m' | |
| yellow='\033[0;33m' | |
| NC='\033[0m' |
| HTTP status code symbols for Rails | |
| Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
| Status Code Symbol | |
| 1xx Informational | |
| 100 :continue | |
| 101 :switching_protocols | |
| 102 :processing |