github

Git “Origin” of Git Repository

Run the below commands on by one to change the origin of the Git Repository.

$ git remote rm origin
$ git remote add origin <git_repo_url>
$ git config master.remote origin
$ git config master.merge refs/heads/master

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: