Initial commit
This commit is contained in:
12
.claude-plugin/plugin.json
Normal file
12
.claude-plugin/plugin.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "update-branch-name",
|
||||
"description": "Updates branch names with proper prefixes and formats, enforcing naming conventions, supporting semantic prefixes, and managing remote branch updates.",
|
||||
"version": "1.0.0",
|
||||
"author": {
|
||||
"name": "giselles-ai",
|
||||
"url": "https://github.com/giselles-ai"
|
||||
},
|
||||
"commands": [
|
||||
"./commands"
|
||||
]
|
||||
}
|
||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# update-branch-name
|
||||
|
||||
Updates branch names with proper prefixes and formats, enforcing naming conventions, supporting semantic prefixes, and managing remote branch updates.
|
||||
16
commands/update-branch-name.md
Normal file
16
commands/update-branch-name.md
Normal 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`
|
||||
45
plugin.lock.json
Normal file
45
plugin.lock.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "internal://schemas/plugin.lock.v1.json",
|
||||
"pluginId": "gh:ccplugins/awesome-claude-code-plugins:plugins/update-branch-name",
|
||||
"normalized": {
|
||||
"repo": null,
|
||||
"ref": "refs/tags/v20251128.0",
|
||||
"commit": "94f777869153333b21d9a9f2f1f59a0c34c05dfa",
|
||||
"treeHash": "f818c8c3c55f6054a4a345559627f82174fea3551df697422a142a71ecbf20dc",
|
||||
"generatedAt": "2025-11-28T10:14:35.887012Z",
|
||||
"toolVersion": "publish_plugins.py@0.2.0"
|
||||
},
|
||||
"origin": {
|
||||
"remote": "git@github.com:zhongweili/42plugin-data.git",
|
||||
"branch": "master",
|
||||
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
|
||||
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
|
||||
},
|
||||
"manifest": {
|
||||
"name": "update-branch-name",
|
||||
"description": "Updates branch names with proper prefixes and formats, enforcing naming conventions, supporting semantic prefixes, and managing remote branch updates.",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"content": {
|
||||
"files": [
|
||||
{
|
||||
"path": "README.md",
|
||||
"sha256": "2a12378f3c2103df1e1318f1c74e37345185c9b108c9d5c22169d3be9599a800"
|
||||
},
|
||||
{
|
||||
"path": ".claude-plugin/plugin.json",
|
||||
"sha256": "fb6db5cd815819e9ff5ed9b35b24144b40916f3ede10ecdf700adb54ef394084"
|
||||
},
|
||||
{
|
||||
"path": "commands/update-branch-name.md",
|
||||
"sha256": "6c2e95cdab7f245eaab38fb5a8587cf5c68aaf457e5563b0d5a1b3c7ba798ecc"
|
||||
}
|
||||
],
|
||||
"dirSha256": "f818c8c3c55f6054a4a345559627f82174fea3551df697422a142a71ecbf20dc"
|
||||
},
|
||||
"security": {
|
||||
"scannedAt": null,
|
||||
"scannerVersion": null,
|
||||
"flags": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user