🤜🏼 When a project is maintained in two repositories and one of the repositories restricts the current user's ability to use Git, welcome use this tool.
In some collaborative development scenarios, a project may be split across two Git repositories, such as for separating code between development and production environments or isolating sensitive data. In these cases, one repository may have access restrictions for certain users, limiting their ability to perform Git operations like commits, pushes, or cloning. To address this, specialized tools can be used to sync changes, manage branches, or automate commit transfers between the restricted and unrestricted repositories, ensuring a seamless workflow.
Nodejs is required and Download the project.
- You have to know what's going on.
- You have to know what you're doing with this tool.
{
"mtRepos": [
"", // Local path of the source repository (repo from)
"" // Local path of the target repository (repo to)
],
"commitRange": [
"", // Starting commit in the source repository (repo from) to be merged
"" // Ending commit in the source repository (repo from) to be merged
],
"needValidateGit": false, // Whether to validate the Git status
"repoToFlagCommit": "", // Commit in the target repository (repo to) to be flagged, usually corresponding to the starting commit of commitRange
"publicPaths": ["", ""] // File paths to be synchronized between the source and target repositories, used to resolve inconsistencies in relative paths between the two repositories
}Run the following command:
npm startPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
MIT
