Reputation: 485
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?
Upvotes: 1
Views: 617
Reputation: 2752
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.
Upvotes: 1