git - how to directly merge github pull request to my private repo? -


here's situation,

  1. i have private repo, privaterepo, on own server
  2. i make private repo on github public repo, openrepo (like mirror)
  3. people can fork openrepo, makes changes, sends pull request
  4. if request accepted, i'd rebase directly privaterepo instead of merging openrepo
  5. meanwhile, commits can submitted privaterepo people working directly on privaterepo

because if accept merging on openrepo, have update privaterepo openrepo, there circle , it's redundant, not conflicts resolving. possible?

what circle talking about? flow merging on openrepo , syncing privaterepo absolutely clear. have 2 remotes - private , public, merge pulls in public, , sync private. if you'd skip pull requests in openrepo, deviate more , more privaterepo. tricky job sync them again after while. also, if not keep public repo up-to-date, people can base work on old, stale commits. example create branch fix bug, while has been fixed pull request not merged. also, unclear why need public repo if not accept pull requests in it?

i understand may want hide parts of code hidden plebs. can have dozen of branches in privaterepo it, not being published openrepo!


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -