Update Branch Name
$ npx claude-code-templates@latest --command="git-workflow/update-branch-name" --yesRequires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this command
Component source
Update Branch Name
Follow these steps to update the current branch name:
- Check differences between current branch and main branch HEAD using
git diff main...HEAD - Analyze the changed files to understand what work is being done
- Determine an appropriate descriptive branch name based on the changes
- Update the current branch name using
git branch -m [new-branch-name] - Verify the branch name was updated with
git branch
Related Claude Code Commands
Commit
Create well-formatted commits with conventional commit format and emoji
Create Pr
A ready-to-install Claude Code component.
Pr Review
A ready-to-install Claude Code component.
Fix Github Issue
A ready-to-install Claude Code component.
Create Pull Request
A ready-to-install Claude Code component.
Branch Cleanup
Use PROACTIVELY to clean up merged branches, stale remotes, and organize branch structure
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.