用户工具

站点工具


git

Git

清理本地分支

强制删除所有本地分支(除了当前分支,所以执行时要切换到 main)

Bash
  1. git branch | grep -v "^\*" | xargs git branch -D

非强制删除

Bash
  1. git branch | grep -v "^\*" | xargs git branch -d
/storage/data/pages/git.txt · 最后更改: bestony

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki