DEV Community

Ritik Soni
Ritik Soni

Posted on

Gitlab Upstream url[FIXED]

short post about upstream url of gitlab:-

The right way to set a upstream url of gitlab is:-

git remote add <upstream_name> <https://{your_username}@gitlab.com/<upstream_username>/<upstream_repo>.git
Enter fullscreen mode Exit fullscreen mode

Now if you already had set your url just do

git remote set-url <upstream_name> <https://{your_username}@gitlab.com/<upstream_username>/<upstream_repo>.git
Enter fullscreen mode Exit fullscreen mode

Hope this one works for you!

Oldest comments (0)