Rename Git repo locally and on remote
1 June 2022 (Updated 1 June 2022)
On this page
Rename
Make sure you have the GitHub CLI installed, then run:
Confirm rename was successful
Once done, the remote GitHub repo will update as well as your local .git/config
. Confirm with:
You should see the new remote name.
Run:
And the new repo URL should be opened in your default browser.
Tagged:
Git
Thanks for your comment . Once it's approved, it will appear here.
Leave a comment