A VSCode extension that blocks git pushes containing commits with 'DONT COMMIT JUST SAVE' message.
![Screenshot 2024-12-24 at 01 00 26](https://private-user-images.githubusercontent.com/35376790/398277342-f32c2784-2ed9-4726-8f21-7b64dbef8086.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxOTMyMTQsIm5iZiI6MTczOTE5MjkxNCwicGF0aCI6Ii8zNTM3Njc5MC8zOTgyNzczNDItZjMyYzI3ODQtMmVkOS00NzI2LThmMjEtN2I2NGRiZWY4MDg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDEzMDgzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM3NTliZjU3NzcwM2I5ZTU1Zjk0MGI5MDViMTBmMzcwZTI4YjZmZDY4MmE1NjZmMDgyNjlkYWM0NmEwOTk5YjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pcCKMZs9UMSrBN9-XJyk1q3Hu1td4D-5YLDmfKOaCn8)
- 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
- 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
- Warning dialog before risky operations
- Detailed explanation of potential conflicts
- Ability to cancel operations
- Reset history for recovery
- Safe staging of changes
- VS Code 1.85.0 or higher
- Git installed on your system
This extension doesn't require any settings.
None at the moment.
MIT