Undoing your changes

You may not need all the changes to be committed and pushed to the remote repository. There are many cases when you just need to reset the working directory/workspace to get a cleaner space, showing just the last committed changes. You may also want to revert a change from the remote branch if you have pushed a wrong commit. In this section, we are going to discuss how to reset and revert a branch.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.45.92