kefimochi / sync-contribution-graph

Generates empty commits to match contributions from other public GitHub accounts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Local repository sync

Albert221 opened this issue · comments

I love the idea of your project and I'd totally use it!

But it sadly doesn't fit my case and it would be awesome (and made the project much more flexible) if it had: I'm working mainly on a self-hosted GitLab instance and my contributions are private.

What I propose is the ability to run this tool on a locally cloned Git repository that would create one commit in the sync repo for each of my commits. To avoid committing the same commit from different tool runs, the sync repo commit message could contain the SHA of the original commit and check if it's already here

I also think this could be a useful addition. Maybe we could also add support for GitLab's contribution API? I believe it works pretty similarly to GitHubs, although for private repos we'd have to figure out the token details.