Fill these in once
- See what changed
git status - Pick the files to save
git add .The dot means every changed file in this folder. To pick one file, write its name instead.
- Save them with a message
git commit -m "Fix the typo on the home page"
Check it worked
- See your latest commits
git log --oneline -5
Undo it
- Undo the last commit but keep the changes
git reset --soft HEAD~1Only do this before you've pushed the commit.
- See what changed
git status - Pick the files to save
git add .The dot means every changed file in this folder. To pick one file, write its name instead.
- Save them with a message
git commit -m "Fix the typo on the home page"
Check it worked
- See your latest commits
git log --oneline -5
Undo it
- Undo the last commit but keep the changes
git reset --soft HEAD~1Only do this before you've pushed the commit.
- See what changed
git status - Pick the files to save
git add .The dot means every changed file in this folder. To pick one file, write its name instead.
- Save them with a message
git commit -m "Fix the typo on the home page"
Check it worked
- See your latest commits
git log --oneline -5
Undo it
- Undo the last commit but keep the changes
git reset --soft HEAD~1Only do this before you've pushed the commit.

New to Commit? I explain it in plain English on Layman Terms.