在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用devops-commit
星标0
分支0
更新时间2026年5月12日 08:06
Git 提交技能,用于提交代码变更时,包括主仓库和子模块提交。
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Git 提交技能,用于提交代码变更时,包括主仓库和子模块提交。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
使用 qtcloud-devops CLI 同步子模块指针到父仓库,实现子模块内容变更后的引用同步与推送。
发布 Git 仓库 Release,支持子模块和主仓库两种发布流程。创建 tag、推送远端、生成 GitHub Release。
操作Markdown文档时使用。文档格式技能,遵循量潮科技文档格式标准,用于生成或检查规范文档。
| name | devops-commit |
| description | Git 提交技能,用于提交代码变更时,包括主仓库和子模块提交。 |
使用 Conventional Commits 规范:
<type>: <description>
git commit -m "feat: 添加新功能"
git commit -m "fix: 修复登录问题"
git commit -m "docs: 更新 README"
git fetch && git pull
若产生冲突:
# 查看冲突文件
git status
# 手动解决冲突后标记已解决
git add <resolved-file>
# 继续变基或合并
git rebase --continue # 若 pull 使用 rebase
# 或
git merge --continue # 若 pull 使用 merge
git status
查看未提交的变更,包括:
# 添加单个文件
git add <file>
# 添加所有修改
git add -A
git commit -m "<type>: <description>"
git status
确认提交成功,当前分支应领先 origin/main n 个提交。
git push
# 进入子模块目录
cd docs/handbook
# 检查状态
git status
# 添加并提交
git add -A
git commit -m "docs: 更新文档"
# 推送到远程
git push
# 返回主仓库
cd ../..
# 添加子模块引用
git add docs/handbook
# 提交
git commit -m "chore: update handbook submodule"
# 推送
git push
git add -A
git commit -m "feat: 添加用户认证功能"
git push
git add docs/README.md
git commit -m "docs: 更新使用说明"
git push
cd docs/gallery
git add -A
git commit -m "docs: 添加新示例"
git push
cd ..
git add docs/gallery
git commit -m "chore: update gallery submodule"
git push