![]() Git revert doesn't delete the original commit. You can undo the changes made by a commit by using Git revert to create a new commit that reverses those changes. To hard reset a branch to a different commit than the last commit, specify the commit ID or a partial commit ID that uniquely identifies the commit: git reset -hard ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |