Refactor Filenames Flashcards
0
Q
$ git rm –cached [file]
A
Removes the file from version control but preserves the file locally.
1
Q
$ git rm [file]
A
Deletes the file from the working directory and stages the deletion.
2
Q
$ git my [file-original] [file-renamed]
A
Changes the file name and prepares it for a commit.