After setting up the repository with the exact same name (username/repository
) with Gitlab and importing it directly in Gitlab.
git remote set-url origin $(git remote get-url origin|sed -e 's/github/gitlab/')
git push --all origin
After setting up the repository with the exact same name (username/repository
) with Gitlab and importing it directly in Gitlab.
git remote set-url origin $(git remote get-url origin|sed -e 's/github/gitlab/')
git push --all origin