Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git RollbackNew to Visual Studio Code? Get it now.
Git Rollback

Git Rollback

Rex Li

|
231 installs
| (0) | Free
Easily rollback git changes
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Rollback Extension

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

  1. In the Explorer:

    • Right-click on the file or directory you want to rollback
    • Select the "Git Rollback" option from the context menu
  2. 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
  3. After confirming the rollback operation, the selected file or directory will be restored to its state in the most recent Git commit

Installation

  1. Open VS Code
  2. Go to the Extensions view (Ctrl+Shift+X)
  3. Search for "Git Rollback"
  4. 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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft