Joker
Joker

Reputation: 2229

Make private repo contribution history public

I would like to show a client my contribution history towards a project, without making the repo public. Is there a way to do this through github (eg: not taking screenshots of everything).

Ideally they could see at least the number of contributions towards the project; it would be great if they could also see the graph features (punch card, timeline, etc.).

Is this possible?

Upvotes: 34

Views: 13927

Answers (3)

sourcenouveau
sourcenouveau

Reputation: 30504

EDIT You can now show private contributions on your GitHub profile page.

https://help.github.com/articles/viewing-contributions-on-your-profile-page/


No, this is not supported through the GitHub website, unless you want to create an "organization" and give the client read-only access to the whole repo.

Clone the repo locally and use the git log command to dump the project history to a text file. You can then give the client this text file. This won't give you GitHub's visualizations, but you could make some of your own in Excel or some other program.

Upvotes: 24

Becca Petrin
Becca Petrin

Reputation: 1634

It's possible now!

  • Go to your profile page
  • Under "Contributions settings", open the dropdown
  • Choose "Public and private contributions"

Upvotes: 19

brian
brian

Reputation: 2775

I created a script that solves this problem:

https://github.com/ebrian/gitdummy

It will transfer all of your commit messages and dates for a given email address out of an existing repo and into a dummy repo that you can then push up to your GitHub account. It won't transfer source code, project names, or project team members' commits.

Enjoy.

Upvotes: 35

Related Questions