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?
Asked
Active
Viewed 148 times
0
-
3Did 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 Answers
1
you can use this command:
git remote set-url origin new_url
as it says in the documentation:

cesar lachapelle
- 51
- 4