Git Tracker is a VS Code extension that automatically tracks your commit history across multiple repositories and pushes the logs to a dedicated Git repository.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Git Tracker is a VS Code extension that automatically tracks your commit history across multiple repositories and pushes the logs to a dedicated Git repository.
Features
Tracks commit history for all repositories you work on.
Stores commit logs in a global .git_worklog.json file.
Pushes worklog data to a user-configured Git repository.
Configurable worklog repository path and remote Git URL.
Ensures no duplicate commits are logged.
Installation
Clone this repository or download the latest release.
Open the project in VS Code.
Run npm install to install dependencies.
Press F5 to launch the extension in a new VS Code window.
Usage
Open a project with Git initialized.
Run Git Worklog: Sync from the command palette (Cmd+Shift+P / Ctrl+Shift+P).
The extension will automatically track and save commit logs.
Logs are pushed to the configured worklog Git repository.
Configuration
This extension allows user-specific configurations:
worklogGitRemote: The remote Git repository where worklogs are stored.
worklogRepoPath: Local path where the worklog repository is cloned.
Setting Up Configurations
Open VS Code settings (Cmd+, / Ctrl+,).
Search for git-tracker.
Configure worklogGitRemote and worklogRepoPath as needed.
Development
To contribute or modify the extension:
Fork and clone the repository.
Run npm install to set up dependencies.
Press F5 to start debugging in a new VS Code window.
Known Issues
Ensure the worklog repository is accessible before running sync.
If the .git_worklog.json file is overwritten, verify the correct worklogRepoPath is set.
Future Enhancements
Add UI to configure settings instead of manually updating settings.json.
Implement an automatic sync interval.
Provide support for filtering repositories.
License
This project is licensed under the MIT License. See LICENSE for details.