Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to share the git commit log with the customer without giving access to the repository?

Tags:

git

I want to share the progress of the project with the customer. I need to show him that im working on it constantly. The best way to do is to show the comit log. But to show it, I have to give him access to my repo (Bitbucket or Github). How can I do this without giving access to the repo?

like image 902
THpubs Avatar asked Jun 06 '15 01:06

THpubs


People also ask

How do I share a git repository with others?

Under your repository name, click Settings. In the "Access" section of the sidebar, click Collaborators & teams. Click Invite a collaborator. In the search field, start typing the name of person you want to invite, then click a name in the list of matches.


1 Answers

I have seen another alternative:

  • set a post-receive hook (or a webhook) on the private repo (server side) which will:
    • do a git log and redirect the result in a text file
    • save that text file in a dedicated repo (which includes only the log text file)

That way, you give access to that log repo, and the client can follow the log in it.

like image 124
VonC Avatar answered Oct 15 '22 03:10

VonC