Update Branch Name
Commands git-workflow 182
npx claude-code-templates@latest --command git-workflow/update-branch-name Content
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