Skip to content

Instantly share code, notes, and snippets.

@MrGibus
MrGibus / Change "origin" of your GIT repository
Last active August 11, 2021 09:44 — forked from DianaEromosele/Change "origin" of your GIT repository
Change "origin" of your GIT repository
git remote rm origin
git remote add origin <INSERT URL/ DIRECTORY HERE>
git config master.remote origin
git config master.merge refs/heads/master
git remote show origin