![]() ![]() The Git Reset is the most preferred command for this purpose as it cleanly removes the unwanted commits. We have the Git Checkout command, the Git Reset command, and the Git Revert command for undoing changes. Git provides us with several ways of doing that. We will often commit our changes to the repository but sometimes we may need to undo these committed changes. When we run the Git Revert command a new commit is created after the unwanted commit which has all the reverted changes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |