I’ve got Subgit set up such that it replicates a local SVN repository. I also setup a mirroring of that in GitHub.
“Trunk” branch in SVN is mirrored to “Master” in GitHub.
We recently introduced a rule to force pull requests to be created before accepting changes into the master. Unfortunately this broke the sync of SubGit since it cannot push the changes directly to Master. I was thinking if there is a way to make SubGit sync the trunk to another branch say master_svn and then we will create pull requests from master_svn to master in GitHub.
SVN (Trunk) -> SubGit (Master_SVN) -> GitHub (Master_SVN) (Master) <- GitHub (Master)
I understand that we’ll need to pull the GitHub (Master) into SubGit (Master) manually.