Git remote repository tutorial and with set-url origin upstream example

Published: 27 November 2020
on channel: Eddie Jaoude
21,179
404

Keep your forked repo up to date or if the repo changes location, or you clone the original / parent repo and then you make a fork, it is easy to update your cloned version that is locally to point to another location with 1 or 2 simple git CLI commands.

Example commands
$ git remote -v
$ git remote remove origin
$ git remote add origin [URL]
$ git remote set-url origin [URL]

Shoutout
Thanks Nicholas Carrigan for the alternative suggestion which is even easier. Follow Nicholas on
Twitter   / nhcarrigan  
GitHub https://github.com/nhcarrigan

Git remote official docs https://git-scm.com/docs/git-remote

Git remote repository tutorial and with set-url origin upstream example #OpenSource #DevRel

--------------------------------------------------------------------------

A BIG thank you to my GitHub Sponsor:
Stephen Mount http://github.com/stemount

--------------------------------------------------------------------------

Don’t forget to support my channel by subscribing below, it’s free, and also share with your friends. Subscribe now!!
http://youtube.com/eddiejaoude?sub_co...

Follow on other socials for behind the scenes footage, join discord to continue the conversation...

http://eddiejaoude.co.uk
https://github.com/eddiejaoude
   / eddiejaoude  
  / eddiejaoude  
  / eddiejaoude  
  / eddiejaoude  
  / discord  


On this page of the site you can watch the video online Git remote repository tutorial and with set-url origin upstream example with a duration of hours minute second in good quality, which was uploaded by the user Eddie Jaoude 27 November 2020, share the link with friends and acquaintances, this video has already been watched 21,179 times on youtube and it was liked by 404 viewers. Enjoy your viewing!