Rename a File
Rename loader_old.py to loader.py, and commit the rename with the message rename the loader.
Example 1
starts as
* bfaa254 (HEAD -> main) add notes * a8b0579 add the loader nothing to commit
ends as
commits, newest first: rename the loader add notes add the loader files in the latest commit: loader.py notes.txt staged: nothing changed, not staged: nothing untracked: nothing
Constraints
- 1 to 4 commits
- Nothing is edited or staged
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Git problems
- Send It UpEasy
- Tag the ReleaseEasy
- Undo the EditEasy
- Unstage ItEasy
- What Is StagedEasy
- Bring Back the FileMedium
- Drop the Last TwoMedium
- Get the New WorkMedium