Make Your Change
Make the smallest change that fully solves the issue, verify it, then get it onto GitHub.
What you'll learn
How to make a focused change, confirm exactly what you've changed, and push it: stage with git add, commit with a clear message, then push the branch to your fork.
Do this
- Make the change described in your issue, only what it asks for.
- Run the test suite to make sure nothing broke.
- Check what changed with
git statusandgit diff. - Stage, commit, and push.
npm test
git status
git add .
git commit -m "YOUR COMMIT MESSAGE HERE"
git push origin fix-the-issueTry it
Work through the commands above in order, reading the output of each one before running the next.
Check your work
git status shows a clean working tree, and your branch now appears on your fork on GitHub.