删远端分支报错remote refs do not exist或git: refusing to delete the current branch解决方法

先输入: 在git 命令行终端输入 git fetch -p origin
查看所有分支: git branch -a
然后删除: git push origin -d xxxx

如果报错:git: refusing to delete the current branch
并且当前分支!=删除分支
则时git默认分支==删除分支,导致其一致被占用状态,无法删除,
软件_git异常错误[博]

ubuntu终端Git中文乱码

ubuntu终端Git中文乱码:200\273\347\273\223
使用git add添加要提交的文件的时候,显示形如2200\273\347\273\223乱码。
解决方案:git config –global core.quotepath false

相关文章:

  • 2021-07-31
  • 2021-08-04
  • 2022-12-23
  • 2021-11-17
  • 2021-09-08
  • 2022-12-23
  • 2021-09-29
猜你喜欢
  • 2021-06-14
  • 2022-12-23
  • 2021-08-16
  • 2021-06-28
  • 2021-08-12
  • 2022-01-08
  • 2021-06-05
相关资源
相似解决方案