-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fae928d
commit 78933d9
Showing
2 changed files
with
117 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# GitHub Contribution Mate (gh-contribution-mate) - Usage Guide | ||
|
||
Welcome to the usage guide for `gh-contribution-mate`. This CLI tool allows you | ||
to easily synchronize your local or non-github repository commits to your GitHub | ||
profile, ensuring your contribution stats and charts are accurate. This document | ||
will guide you through the usage of the tool. | ||
|
||
## Global Options | ||
|
||
- `-h, --help` - Show help information. | ||
|
||
Usage: | ||
|
||
```shell | ||
gh contribution-mate --help | ||
``` | ||
|
||
- `-V, --version` - Show the version number for this program. | ||
|
||
Usage: | ||
|
||
```shell | ||
gh contribution-mate --version | ||
``` | ||
|
||
## Commands | ||
|
||
### `add` command | ||
|
||
The `add` command allows you to add one or more local repositories to be | ||
monitored for synchronization. | ||
|
||
- `<repositories...>` - List of one or more local repositories to add for | ||
syncing. | ||
|
||
Usage: | ||
|
||
```shell | ||
gh contribution-mate add /path/to/repo1 /path/to/repo2 | ||
``` | ||
|
||
### `sync` command | ||
|
||
The `sync` command will synchronize the commits from the added local | ||
repositories to your GitHub profile. | ||
|
||
Usage: | ||
|
||
```shell | ||
gh contribution-mate sync | ||
``` | ||
|
||
These commands provide a simple way to keep your GitHub profile updated with | ||
your local or non-github repository commits. If you have any issues, please | ||
refer to the main [README](../README.md) or open a new issue on the GitHub | ||
repository. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,61 @@ | ||
# gh-contribution-mate | ||
# GitHub Contribution Mate (gh-contribution-mate) | ||
|
||
[![release](https://github.com/trunklabs/gh-contribution-mate/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/trunklabs/gh-contribution-mate/actions/workflows/release.yml) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) | ||
|
||
`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](https://deno.com/runtime) 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. | ||
|
||
## 🔒 Usage At Work | ||
|
||
`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. | ||
|
||
## 🚀 Getting Started | ||
|
||
### Installation | ||
|
||
Make sure you have the necessary dependencies installed on your system: | ||
|
||
1. [GitHub CLI](https://cli.github.com/) - You'll need to be logged in. You can | ||
check if you're logged in by using `gh auth status`. | ||
2. [Git](https://git-scm.com/downloads) | ||
|
||
Once the dependencies are in place, you can install the extension as follows: | ||
|
||
```shell | ||
gh extension install trunklabs/gh-contribution-mate | ||
``` | ||
|
||
### Alias Setting | ||
|
||
For a more streamlined experience, you can set an alias for | ||
`gh contribution-mate` like `gh cm`. This is how you can do it: | ||
|
||
```shell | ||
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](docs/USAGE.md). | ||
|
||
## 🛡️ Credentials | ||
|
||
`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. | ||
|
||
## 🤝 Contributing | ||
|
||
Contributions are more than welcome! Please see our | ||
[contributor's guide](CONTRIBUTING.md) for details. |