I'm having trouble updating a GitLab repo from a Github repo. An update was released for the Github repo that I've forked, and I would like to incorporate that update into my fork. Does anyone have any way to do this other than replacing the project files manually?
1 Answer
Gitlab allows automatic mirroring but it appears to be a paid feature.
Navigate to your project’s Settings > Repository and expand the Mirroring repositories section (only seen if you have a paid for version).
Enter a repository URL.
Select Pull from the Mirror direction dropdown.
Select an authentication method from the Authentication method dropdown, if necessary.
If necessary, check the following boxes:
Overwrite diverged branches.
Trigger pipelines for mirror updates.
Only mirror protected branches.
Click the Mirror repository button to save the configuration.
git remote add other-github GITHUB_URL; git pull other-github master?git remote add http://git.site.org/mathewwe/ftc_app.git; git pull https://github.com/ftctechnh/ftc_app.git beta. Is this what you mean?other-github) which identifies the repo and URL to pull from.git fetchif can't import for some reason.