GitHub Committer Extension
GitHub Committer is a Visual Studio Code extension that automates the process of committing and pushing changes to your GitHub repository. It's perfect for developers looking to save time by automating repetitive Git operations while maintaining an organized commit history.
Features
- Automatic Commit and Push: Automatically commits and pushes your changes to your GitHub repository at a fixed interval (every 30 minutes).
- Smart Change Tracking: Tracks added, modified, and deleted files separately to generate detailed commit messages.
- GitHub Authorization: Authorize the extension with GitHub for seamless integration using a personal access token (PAT).
- Simple Start/Stop: Easily start and stop auto-committing using VS Code commands.
- Secure Token Management: GitHub tokens are securely stored using VS Code's secrets API for a seamless and safe experience.
Requirements
- A GitHub account.
- Git installed on your system.
- A workspace folder open in VS Code with a valid Git repository initialized.
- The extension commits and pushes only to the main branch.
Commands
The extension includes the following user-friendly commands:
Authorize with GitHub
Authorize the extension to interact with your GitHub account using a personal access token (PAT). This step is required before starting auto-commit.
Start Auto Commit
Start the automatic commit and push process.
Stop Auto Commit
Stop the automatic commit process.
Clear Token
Clear the stored GitHub token securely.
How It Works
- Install the extension from the VS Code Marketplace.
- Open a workspace folder with a Git repository.
- Use the
Authorize with GitHub
command via Ctrl+Shift+P
(Windows/Linux) or Cmd+Shift+P
(Mac) to authorize the extension with your GitHub account. This involves securely storing your personal access token (PAT).
- Use the
Start Auto Commit
command to begin automated commits and pushes.
- The extension will automatically detect changes and commit them to your repository with detailed summaries every 30 minutes.
- Use the
Stop Auto Commit
command to pause the automation anytime.
Notes:
- The GitHub token is securely stored using VS Code's
secrets
API, ensuring safety and ease of use.
- Use the
Start Auto Commit
command once per session. If you close VS Code or restart your device, simply run the command again to resume automation.
Known Issues
- Manual Start: Users must manually start the auto-commit process using the
Start Auto Commit
command after launching VS Code.
- Workspace Dependency: The extension only works when a workspace folder with a valid Git repository is open.
Release Notes
1.0.0
- Initial release of GitHub Committer.
- Added support for automatic commits and pushes.
- Smart file change tracking and detailed commit summaries.
- GitHub authorization using personal access tokens (PAT).
License
This extension is licensed under the Apache License, Version 2.0.
Copyright 2024 Mohd Umar Warsi
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Enjoy seamless GitHub integration with GitHub Committer! 🚀