Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.
[Brief description ]
- [more description]
- [more description]
- [more description]
| import { useState } from 'react'; | |
| export function useCounter(initial = 0) { | |
| const [count, setCount] = useState(initial); | |
| return [count, () => setCount(count + 1)]; | |
| } |
| [ | |
| { | |
| "value": "001", | |
| "label": "Banco do Brasil S.A." | |
| }, | |
| { | |
| "value": "003", | |
| "label": "Banco da Amazônia S.A." | |
| }, | |
| { |
| sudo apt-get update | |
| sudo apt-get -y upgrade | |
| sudo apt-get install python3-setuptools | |
| sudo easy_install3 pip | |
| pip -V | |
| #pip 9.0.1 from /usr/local/lib/python3.5/dist-packages/pip-9.0.1-py3.5.egg (python 3.5) | |
| sudo chown -R username:username ~/.local/ | |
| # add to ./*shrc |
It's important to note that running this reset will drop any existing data you have in the application
heroku restartheroku pg:reset DATABASE (no need to change the DATABASE)heroku run rake db:migrateheroku run rake db:seed (if you have seed)One liner
To install globally, copy prepare-commit-msg to /usr/local/share/git-core/templates/hooks and execute:
chmod +x /usr/local/share/git-core/templates/hooks/prepare-commit-msg
To install per-repository, copy prepare-commit-msg to /path/to/repo/.git/hooks/prepare-commit-msg and mark it as executable.