Skip to content

Instantly share code, notes, and snippets.

@sgerodes
Created May 23, 2019 11:30
Show Gist options
  • Save sgerodes/70795cee37a644081a59e0c404273122 to your computer and use it in GitHub Desktop.
Save sgerodes/70795cee37a644081a59e0c404273122 to your computer and use it in GitHub Desktop.
Change "origin" of your GIT repository
$ git remote rm origin
$ git remote add origin git@github.com:username/repositoryName.git
$ git config master.remote origin
$ git config master.merge refs/heads/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment