Review History (browse and inspect the evolution of project files) Flashcards
0
Q
$ git log –follow [file]
A
Lists version history for a file, including renames.
1
Q
$ git log
A
Lists version history for the current branch.
2
Q
$ git diff [first-branch] [second-branch]
A
Shows content differences between two branches.
3
Q
$ git show [commit]
A
Outputs metadata and content changes of the specified commit.