0

I renamed my repository in GitHub but it didn't change in git command line. What do I have to do to change it there also?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Jawaad
  • 49
  • 6
  • 3
    Did you read https://help.github.com/en/github/administering-a-repository/renaming-a-repository? That tells you how to update your remotes. – jonrsharpe Feb 25 '20 at 14:15
  • https://stackoverflow.com/search?q=%5Bgit%5D+rename+repository – phd Feb 25 '20 at 14:23

1 Answers1

1

you can use this command:

 git remote set-url origin new_url

as it says in the documentation: