TRACKING PATH CHANGES Flashcards

Git Commands

1
Q

delete the file from project and stage the removal for commit

A

git rm [file]

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

change an existing file path and stage the move

A

git mv [existing-path] [new-path]

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

show all commit logs with indication of any paths that moved

A

git log –stat -M

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