Refactor Filenames Flashcards

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

$ git rm –cached [file]

A

Removes the file from version control but preserves the file locally.

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

$ git rm [file]

A

Deletes the file from the working directory and stages the deletion.

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

$ git my [file-original] [file-renamed]

A

Changes the file name and prepares it for a commit.

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