Make Changes (Review edits and craft a commit transaction) Flashcards
0
Q
$ git diff
A
Shows the file differences not yet staged.
1
Q
$ git status
A
Lists all new or modified files to be committed.
2
Q
$ git add [file]
A
Snapshots the file in preparation for versioning.
3
Q
$ git diff –staged
A
Shows file differences between staging and the last file version.
4
Q
$ git reset [file]
A
Unstages the file, but preserves it’s contents.
5
Q
$ git commit -m “[descriptive message]”
A
Records file snapshots permanently in version history.