Review History (browse and inspect the evolution of project files) Flashcards

You may prefer our related Brainscape-certified flashcards:
0
Q

$ git log –follow [file]

A

Lists version history for a file, including renames.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

$ git log

A

Lists version history for the current branch.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

$ git diff [first-branch] [second-branch]

A

Shows content differences between two branches.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

$ git show [commit]

A

Outputs metadata and content changes of the specified commit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly