Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DianaEromosele/fa228f6f6099a8996d3cb891109ab975 to your computer and use it in GitHub Desktop.
Save DianaEromosele/fa228f6f6099a8996d3cb891109ab975 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:aplikacjainfo/proj1.git
$ git config master.remote origin
$ git config master.merge refs/heads/master
@ruicruzeiro
Copy link

Beautiful! Thank you so much!

@MaloJay
Copy link

MaloJay commented Jan 14, 2023

thanks, this helped alot..

@rcapdepaula
Copy link

thanks!

@ngud-0119
Copy link

ngud-0119 commented Mar 24, 2023

Awesome. Thank you.

@w3villa-harsh-yadav
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment