本文最后更新于 2024-08-22,文章好久没更新了。

git 自动清理远端不存在的分支

git remote prune origin

用如下命令查看远程仓库信息:

git remote show origin

查看所有分支

git branch --all