Git 错误错误
error: Cannot delete branch currently checked outerror: Cannot delete current branch
无法删除当前所在的分支。
gitlinuxwindowsmacos
查看详情 error: gpg failed to sign the dataGit 无法使用 GPG 对提交或标签进行签名。
GPG 密钥不可用、已过期,或 GPG 程序配置不正确。密钥可能与提交者邮箱不匹配、GPG 代理未运行,或密码短语提示失败。
验证 GPG 密钥:gpg --list-secret-keys。设置正确的 GPG 程序:git config --global gpg.program gpg2。启动 GPG 代理。导出 GPG_TTY=$(tty)。临时禁用签名:git commit --no-gpg-sign。
git config --global gpg.program gpg2error: Cannot delete branch currently checked out无法删除当前所在的分支。
There is no tracking information for the current branch当前分支未配置追踪远程分支。
error: pack exceeds maximum allowed sizeGit pack 操作超出了服务器允许的最大大小。
fatal: refname is not a valid ref name分支或标签名称包含无效字符。
error: No stash entries found暂存区中没有可供应用或弹出的变更。
error: non-fast-forward update此次推送会重写远端分支历史,已被拒绝。