![]() Now, if you do a hard reset against an earlier commit, it’s the same as first doing a soft reset and then using reset -hard to reset your working tree. Otherwise, it forces your working tree to match the index. There is also another command, checkout, which operates just like reset -hard if the index is empty.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |