I created a gitlab project from existing repository: how to synchronize with it
-
21-12-2019 - |
سؤال
I created a git project from a public github project and I would like to get github project new versions: is it possible from gitlab? is it possible from command line?
المحلول
With command lines, go into you project folder. Type git remote -v
: you should see a remote repo call origin
with the address of you repository in gitlab.
Now you can try git remote add origin_github <url_of_github_project>
. And then git pull origin_github master
should update your repo from GitHub source to your own GitLab repo.
لا تنتمي إلى StackOverflow