AGENT SKILL

util.clean-git-branches

Update local git and clean up branches

License 许可
MIT
所属仓库
raffertyuy/uy-kape
最近更新
2026-11-02
Stars
★ 0
Forks
1

01 前言 Front Matter

name
util.clean-git-branches
description
Update local git and clean up branches

03 SKILL.md 正文

Get the latest from the remote repository and clean up the local branches that no longer exist on the remote.

Pull the latest from the main branch

For the branches that exist locally

  • Check if it was deleted upstream (probably due to a pull request that was merged which auto-deleted the branch). Delete these branches.
  • DO NOT delete branches that only exist locally but not upstream.

If you're not sure what to do, ask me.

04 同仓库更多 Skills