Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:08:01 +08:00
commit 9d2381ee7f
4 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
description: Updates branch names with proper prefixes and formats, enforcing naming conventions, supporting semantic prefixes, and managing remote branch updates.
author: giselles-ai
author-url: https://github.com/giselles-ai
version: 1.0.0
---
# Update Branch Name
Follow these steps to update the current branch name:
1. Check differences between current branch and main branch HEAD using `git diff main...HEAD`
2. Analyze the changed files to understand what work is being done
3. Determine an appropriate descriptive branch name based on the changes
4. Update the current branch name using `git branch -m [new-branch-name]`
5. Verify the branch name was updated with `git branch`