简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM