One File Was Left Out
The latest commit should have had helper.py in it too. The file is in the folder, but untracked. Put it into that commit: the message stays, and no commit is added.
Example 1
starts as
* 4875e9b (HEAD -> main) add the loader * b527f18 first commit untracked: helper.py
ends as
commits, newest first: add the loader first commit files changed by the latest commit: helper.py loader.py staged: nothing changed, not staged: nothing untracked: nothing
Constraints
- 1 to 5 commits
helper.pyis the only thing not committed
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Git problems
- Rename a FileEasy
- Send It UpEasy
- Tag the ReleaseEasy
- Undo the EditEasy
- Unstage ItEasy
- What Is StagedEasy
- Bring Back the FileMedium
- Drop the Last TwoMedium