Skip to content

smallstack/vscode-ext-restore-from-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restore from main VSCode extension

An very tiny vscode extension that allows users to revert a selected file from main branch. It just does git restore --source=main "${filePath}".

Installation

Install from the VS Code Marketplace by searching for "restore-from-main" or use:

code --install-extension smallstack.restore-from-main

Development & Contributing

  1. Clone the repository
  2. Run npm install to install dependencies
  3. Run npm run compile to build the extension
  4. Open the folder in VS Code and press F5 to test in debug mode
  5. Make your changes and submit a pull request

Publishing

To publish a new version to the VS Code Marketplace:

  1. Update the version in package.json
  2. Run npm run compile to build
  3. Install vsce: npm install -g @vscode/vsce
  4. Login: vsce login smallstack
  5. Publish: vsce publish

About

An very tiny vscode extension that allows users to revert a selected file from main branch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published