- Clone the shellgame repo:
git clone https://github.com/srinitude/shellgame.git
(HTTPS)git clone [email protected]:srinitude/shellgame.git
(SSH)
- Change your working directory to shellgame:
cd shellgame
- Start the test suite:
./init.sh [your github username]
Before adding test cases, follow this procedure so that the master branch doesn't get corrupted:
- Check which branch you're currently on (
git branch
). An asterisk/star (*
) will indicate which branch you're on. - If you're on a branch other than master, checkout to master (
git checkout master
). - Pull the most updated verison of master before adding your test cases (
git pull origin master
). - Checkout a branch for the case(s) you want to add (
git checkout -b [test-case]
). - Add your test case(s) to the directory related to the specific task.
- Add and commit your change(s).
- Push that branch, not to master (
git push origin [test-case]
). - Open a pull request on Github.
- Slack the sf-0517 channel with the link to the pull request and have someone merge to master for you.
- Delete the branch you committed and pushed after merging to master.
Thanks to everyone who contributed! The contributors are listed in the AUTHORS page.