We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当我们在终端执行 git ck 'branch' 的时候经常会补全一些很久没有用过的分支出来 如图: 我们怎么清除这些本地已经删除,但是远程还存在的冗余分支呢。 git remote show origin 先查看所有分支情况
git remote show origin
有两个关键提示 tracked 跟踪,追踪(track的过去式) stale 陈腐的;不新鲜的 后面跟了一个提示信息 use 'git remote prune' to remove
use 'git remote prune' to remove
git remote prune origin
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当我们在终端执行 git ck 'branch' 的时候经常会补全一些很久没有用过的分支出来

如图:
我们怎么清除这些本地已经删除,但是远程还存在的冗余分支呢。
git remote show origin
先查看所有分支情况有两个关键提示 tracked 跟踪,追踪(track的过去式) stale 陈腐的;不新鲜的
后面跟了一个提示信息
use 'git remote prune' to remove
执行
git remote prune origin
The text was updated successfully, but these errors were encountered: