Commit the New File
A new file has turned up in this repository, and Git does not track it yet. Commit it with the message add the new file.
Example 1
starts as
* ed73a44 (HEAD -> main) first commit untracked: summary.txt
ends as
commits, newest first: add the new file first commit files in the latest commit: prices.csv summary.txt staged: nothing changed, not staged: nothing untracked: nothing
Constraints
- The repository has 1 to 4 commits
- One untracked file, nothing else to commit
Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.
More Git problems
- How Many CommitsBeginner
- Stage One FileBeginner
- Start a RepositoryBeginner
- The Last MessageBeginner
- Which BranchBeginner
- Delete the BranchEasy
- Fix the MessageEasy
- History of a FileEasy