Nik
Nik

Reputation: 481

Git: One project with two remote repo maintaining separate commits

My Client has a github private repo which is shared to me. I also want to setup a private repo with my developers for the same project.

The issue is that I do not want to push commits of my developers directly to the client repo, but want a separate commit history with my client and developer.

I read about branching but branching will make the new/developer branch visible to my Client.

Is there a way I can Get this form a single directory or I will heave to use two separate project directories, synced with the respective repo.

Upvotes: 1

Views: 277

Answers (1)

VonC
VonC

Reputation: 1328722

You could fork the private GitHub client repo: it would still be a private repo (even if you don't have a paying account)

Then your developers could push to that fork.

Upvotes: 1

Related Questions