What exactly will your colleague receive?#
You will add a reminder to a fictional project note, then open a draft PR that a colleague could review. You do not need to contact anyone. Follow the change through three places:
- Your file: the working tree is the folder you edit. Staging selects the saved content for the next commit.
- Your history: a commit records that selection on your computer. Your
practice branch keeps it separate from
main. - Your review page: pushing sends your commits to GitHub. A pull request
(PR) compares your branch with
mainfor someone to review.
Leave the PR in draft: it is not ready to merge. The Conventional Commit format is explained in step 7.
What will this commit contain?#
Imagine editing meeting-note.md. You add Monday, save, and stage the file.
Then you add Room 204 and save again, without staging again.
If you commit now, will it include Monday, Room 204, or both? Why? Think it through before opening the explanation. No answer to submit.
See the three versions
| Where the version is | What it contains |
|---|---|
| Last commit | Original note |
| Staging area: selected for the next commit | Original note + Monday |
| Working tree: saved in your editor | Original note + Monday + Room 204 |
The commit includes Monday, but not Room 204. Staging captures the saved content at that moment; saving again does not update the selection. To include the room, you would stage the newer version and review it.
You will inspect two diffs: your edit, then the selection for the commit.
Do not create meeting-note.md; it is only an example.
Optional: another explanation of staging. Read just that page, then return here; you do not need its Next links or commands.
Select the named practice file, not every file with git add ..
Keep the PR in draft; do not merge it. The Passport handles its
background submission separately.