Stage One File
Two files have been edited since the last commit. Stage notes.txt and nothing else, and do not commit: the other file stays changed and not staged.
Example 1
starts as
* 8153728 (HEAD -> main) add prices * 325354d add notes changed, not staged: notes.txt prices.csv
ends as
commits, newest first: add prices add notes staged: notes.txt changed, not staged: prices.csv untracked: nothing
Constraints
notes.txtand one other file are edited- Both are files Git already tracks
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Git problems
- Start a RepositoryBeginner
- The Last MessageBeginner
- Which BranchBeginner
- Delete the BranchEasy
- Fix the MessageEasy
- History of a FileEasy
- Leave It OutEasy
- Merge the BranchEasy