This repository has been archived by the owner on Sep 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Tutorials: First Commit
AMitchemTW edited this page Sep 7, 2017
·
1 revision
Everyone on the team should complete this exercise as soon as they have access to the team repo. It should only take a few minutes.
- Git pull to get the latest code
git pull --rebase
ask a trainer if you're not sure what--rebase does
- Add a new test to teamPage.test.js that checks for your name in the team page
- Run
./go pre-commit
(OS X/Linux)
npm run precommit
(Windows) - This will run the pre-commit checks - something should fail
- Fix the failing test by adding your name to the team page in TeamScreen.jsx
- Run the pre-commit checks again – everything should pass.
./go pre-commit
- Set your commit message to
"[TASK][your_name/pairs_name] check-in dance initial commit"
replacingyour_name
with, you guessed it, your name. - Git pull to get the latest changes
git pull --rebase
./go pre-commit
- Push your changes
git push
- Repeat for the other person in your pair.