- copy the file
commit-msg
to.git/hooks/commit-msg
- make sure your delete the sample file
.git/hooks/commit-msg.sample
- Make commit msg executable.
chmod +x .git/hooks/commit-msg
- Edit
commit-msg
to better fit your development branch, commit regex and error message - Profit $$
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These are some features. They can be implemented in any order you prefer. | |
* an elevator responds to calls containing a source floor and direction | |
* an elevator delivers passengers to requested floors | |
* an elevator doesn't respond immediately. consider options to simulate time | |
* elevator calls are queued not necessarily FIFO | |
* you may test a sequence of events happening when passengers use the elevator | |
* you may implement current floor monitor | |
* you may implement direction arrows | |
* you may implement doors (opening and closing) |