A Visual Studio Code extension that allows you to easily rollback files or directories in your Git repository with a single click.
Features
Rollback files or directories directly from the Explorer context menu
Rollback the current file from the Editor Tab context menu
Simple and quick operation without complex Git commands
How to Use
In the Explorer:
Right-click on the file or directory you want to rollback
Select the "Git Rollback" option from the context menu
In the Editor Tab:
Right-click on the tab of the file you're currently editing
Select the "Git Rollback" option from the context menu
After confirming the rollback operation, the selected file or directory will be restored to its state in the most recent Git commit
Installation
Open VS Code
Go to the Extensions view (Ctrl+Shift+X)
Search for "Git Rollback"
Click the "Install" button
Requirements
Visual Studio Code 1.60.0 or higher
An active Git repository in your workspace
Known Issues
There are no known issues at this time. If you discover any problems, please submit an issue on our GitHub repository.
Release Notes
0.0.1
Initial release
Support for one-click rollback of files and directories in Explorer and Editor Tab context menus
Enjoy!
If you find this extension helpful, please consider giving us a positive review on the VS Code Marketplace. For any suggestions or feedback, feel free to open an issue or pull request on GitHub.