CommandImported
update-branch-name
Rename the current branch to a descriptive name based on its changes against main
Imported description, not reviewed yet
This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.
Download
Install
After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.
For this project
It goes in: .claude/commands/
mkdir -p .claude/commands && unzip ~/Downloads/update-branch-name.zip -d .claude/commandsFor your account on the whole machine
It goes in: ~/.claude/commands/
mkdir -p ~/.claude/commands && unzip ~/Downloads/update-branch-name.zip -d ~/.claude/commands
Instructions
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
Files
- LICENSE1 KB
- update-branch-name.md547 B
Comments (0)
No comments yet. Be the first.
Sign in to comment. Commenting comes at level 1 (Member).