rename-repo

Rename GitHub repositories and optionally update their descriptions.

Usagegit-wrangler rename-repo [options]

Quick start

git-wrangler rename-repo

What it does

rename-repo asks for a new GitHub repository name for each target. Leave a prompt blank to skip that repository.

The command is always interactive. When --description is enabled, it also shows the current description and asks for a replacement.

Before you run it

GitHub CLI (gh) and Git Wrangler GitHub access are required. Run init for guided setup.

Options

Option Default What it does
--repo <path> Whole workspace Target exactly one repository.
--description Off Also offer to update repository descriptions.

More examples

# Rename one repository
git-wrangler rename-repo --repo ./api

# Rename repositories and review descriptions
git-wrangler rename-repo --description