# 解决 git 不存在的分支名称自动补全的问题 ## 清除所有失效分支 ``` bash git fetch --prune --all ``` ## 清除指定失效分支 ``` bash git fetch --prune 远程仓库名称 分支名称:分支名称 # git fetch --prune origin feature:feature ``` ## 中文文件名乱码 ``` bash git config --global core.quotepath false ```
解决 git 不存在的分支名称自动补全的问题
清除所有失效分支
清除指定失效分支
git fetch --prune 远程仓库名称 分支名称:分支名称 # git fetch --prune origin feature:feature中文文件名乱码
git config --global core.quotepath false