sajad torkamani

Rename

Make sure you have the GitHub CLI installed, then run:

gh repo rename <new-name>

Confirm rename was successful

Once done, the remote GitHub repo will update as well as your local .git/config. Confirm with:

git remote -v

You should see the new remote name.

Run:

gh browse

And the new repo URL should be opened in your default browser.

Tagged: Git