Skip to content

Arman19941113/vscode-git-rollback

Repository files navigation

git-rollback

Quickly discard a file's changes in the working directory and index, restoring it to HEAD.

Usage

  1. Open any file that has been modified in editor;
  2. Press Cmd+R Cmd+R to rollback file.

Internal

Rollback changes on file:

  • For untracked file, use git clean -fx <file>
  • For tracked file, use git restore -WS <file>

Requirements

  • git >= 2.23

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published