gh-contribution-mate
is a GitHub CLI extension that allows developers to
synchronize their local or non-github repository commits to GitHub. It is a
robust tool designed for developers who want to showcase their contributions
graphically in stats and on the contribution chart, irrespective of where the
commits were originally made.
Developed using 🦕 Deno with TypeScript and compiled to executables. The tool maintains the confidentiality of the original commits. It only syncs the timestamp and original commit hash as the commit message, creating empty commits to prevent code leakage.
gh-contribution-mate
is completely safe to use at work. However, the tool
should be used responsibly. In the case of potential company policy conflicts,
it is advised to consult with your company or IT department before use.
Make sure you have the necessary dependencies installed on your system:
- GitHub CLI - You'll need to be logged in. You can
check if you're logged in by using
gh auth status
- Git
Once the dependencies are in place, you can install the extension as follows:
gh extension install trunklabs/gh-contribution-mate
For a more streamlined experience, you can set an alias for
gh contribution-mate
like gh cm
. This is how you can do it:
gh alias set cm 'contribution-mate'
Now, you can use gh cm
in place of gh contribution-mate
.
For detailed usage and examples, refer to our documentation.
gh-contribution-mate
uses your existing GitHub credentials for operations.
Remember, any auto-generated credentials will have the same access rights as the
user they are tied to.
Contributions are more than welcome! Please see our contributor's guide for details.