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
Auf dieser Seite können Sie das Online-Video Git remote repository tutorial and with set-url origin upstream example mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Eddie Jaoude 27 November 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 21,179 Mal angesehen und es wurde von 404 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!