Fill these in once
- See what changed
git status - Undo the changes to one file
git restore index.html - Undo the changes to every file
git restore . - Preview the new files that would be deleted
git clean -nd - Delete those new files
git clean -fdGone for good, so check the preview first.
Check it worked
- Check nothing is left
git status
- See what changed
git status - Undo the changes to one file
git restore index.html - Undo the changes to every file
git restore . - Preview the new files that would be deleted
git clean -nd - Delete those new files
git clean -fdGone for good, so check the preview first.
Check it worked
- Check nothing is left
git status
- See what changed
git status - Undo the changes to one file
git restore index.html - Undo the changes to every file
git restore . - Preview the new files that would be deleted
git clean -nd - Delete those new files
git clean -fdGone for good, so check the preview first.
Check it worked
- Check nothing is left
git status