Git Commit Reminder for VSCode
Introduction
From a project manager's perspective, keeping track of code changes and ensuring that they are committed and pushed to remote repositories timely is crucial. The Git Commit Reminder extension for Visual Studio Code is designed to aid developers in this task. With periodic checks, developers are reminded to commit uncommitted changes and push local commits, ensuring a streamlined workflow and minimizing the risk of unsaved or unshared work.
Features
- Periodically checks if you have uncommitted changes and reminds you to commit them.
- If you have a remote repository set up, it checks for local commits that haven't been pushed and reminds you to push them.
- Allows you to set a custom interval for the reminder. If not set, the default is 30 minutes.
- Provides a command to reload the extension and apply any changes to the interval without restarting VSCode.
Requirements
- Visual Studio Code
- Git installed on your machine
Installation
- Install the extension from the VSCode marketplace.
- Reload VSCode after the installation is complete.
Usage
- By default, the extension will check for uncommitted and unpushed changes every 30 minutes.
- You can change this interval by updating the
gitCommitReminder.checkIntervalMinutes
setting in VSCode settings.
Changing the Reminder Interval
- Open VSCode settings.
- Search for "Git Commit Reminder".
- Update the "Interval in minutes for Git Commit Reminder to check and send notifications" to your desired number of minutes.
Manually Reloading the Extension
You can manually reload the extension after changing settings:
- Open the command palette (Ctrl+Shift+P).
- Search for "Reload Git Commit Reminder" and select it. This will restart the reminder with your updated settings.
Configuration
{
"gitCommitReminder.checkIntervalMinutes": {
"type": "number",
"default": 30,
"description": "Interval in minutes for Git Commit Reminder to check and send notifications."
}
}
Activation
The extension gets activated for any workspace that contains a .git
directory.
Known Issues
None currently. If you find any issues or have suggestions, please report them in the issues section of the repository.
Contribution
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
MIT
Note: This README assumes that the extension is open-source with an MIT license. Adjust the License section as needed based on your actual license.