Exercise 03: Staging and Commits¶
Goal¶
Practice staging only the files you intend to commit.
Tasks¶
- Create
notes.md,commands.md, and.env. - Add
.envto.gitignore. - Add safe content to the two Markdown files.
- Run
git statusandgit diff. - Stage only the Markdown files.
- Commit with a clear message.
Reflection¶
- Did
.envstay untracked? - What would you check before pushing this repo publicly?