I’m trying to set up the “Push to a remote repository” feature set up in a GitLab.com repository. I have set up an empty project on GitHub.com, set up a personal access token, and I’m entering it in the form
To mirror / synchronise from Gitlab to Github, by 2017-07-27 the doc says to fill in the Git repository URL like https://username:password@gitlab.company.com/group/project.git.
BUT for mirroring from Gitlab to Github, you should:
Fill in the Git repository URL with the personal access token instead of the password https://username:personalAccessToken@github.com/group/project.git
@mfaure
I’m actually running into this issue right now. I cannot for any reason have my repo push to GitHub. I’ve even created an access token with rights to everything and it still doesn’t work. I’m not sure if there’s something wrong with the GitLab API or the GitHub API. This will not work for any repository, whether freshly made or in an organization.
To be clear, I’m not getting an error like above. The system just flat out won’t work. Occaisionally when pressing the force update button I see “Error getting deploy keys” but then it moves on to “the remote repository is being updated…” and then nothing after.