DONT COMMIT JUST SAVE
A VSCode extension that blocks git pushes containing commits with 'DONT COMMIT JUST SAVE' message.
Features
- Automatically blocks pushes containing commits with 'DONT COMMIT JUST SAVE' message
- Shows a clear modal dialog in VS Code when a push is blocked
- Works with all git commands (VS Code UI, terminal, external git clients)
- Quick insert button in Source Control view to add "DONT COMMIT JUST SAVE" message
- ~~Reset button to safely remove DONT COMMIT JUST SAVE commits while preserving other commits~~
- ~~Reset history tracking with ability to undo recent resets~~
- ~~Warning dialog with detailed risk explanation before reset operations~~
- ~~Detailed operation logs with command history and execution times~~
- ~~Show Details button to view operation logs for reset and restore operations~~
- ~~Automatic blocking of operations that would cause conflicts~~
- ~~Smart detection of merge conflicts and patch failures~~
- ~~Detailed error messages with conflict locations~~
- No configuration needed
Usage
- Install the extension
- The extension will automatically activate for any git repository
- Use the save button (💾) in the Source Control title bar to quickly insert "DONT COMMIT JUST SAVE"
- If you try to push a commit containing 'DONT COMMIT JUST SAVE' in its message, the push will be blocked
- You'll see a modal dialog in VS Code explaining why the push was blocked
- Use the history button (🕒) to reset DONT COMMIT JUST SAVE commits while keeping other commits intact
- A warning dialog will appear explaining potential risks and recovery options
- Use the history-clear button (🔄) to view and undo recent resets if needed
Safety Features
- Warning dialog before risky operations
- Detailed explanation of potential conflicts
- Ability to cancel operations
- ~~Reset history for recovery~~
- Safe staging of changes
Requirements
- VS Code 1.85.0 or higher
- Git installed on your system
Development
For local testing and development, see Local Testing Guide.
For publishing to the VS Code Marketplace, see Publishing Guide.
Extension Settings
This extension doesn't require any settings.
Known Issues
None at the moment.
License
MIT
| |