Visual Studio Revert Commit
Visual Studio Revert Commit . Convert back to previous commit git. In the preceding screenshot, the fetch option is highlighted. The Git experience in Visual Studio Microsoft Docs from docs.microsoft.com Convert back to previous commit git. If we want to completely remove changes in staging, we can run the following command: Git fetch origin will get the commit changes.