* Keep in mind the caveat mentions in his answer, regarding git rm -cached of a file that was previously committed to the repository. you're unstaging a file that you had just git added for the first time), then the two commands have the same effect, hence the appearance of these being "two ways of doing something". If the file wasn't in revision control before (i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |