原文:fatal: Refusing to fetch into current branch refs/heads/ReqMerge_26 of non-bare repository

切换到其他分支 不是自己要拉得本地得分支 并且当前分支是我们要拉取远程分支的祖先 再执行 git fetch 仓库名 远程分支 :本地分支 ...

2021-07-15 08:49 0 171 推荐指数:

查看详情

关于refs/for/ 和refs/heads/

1. 这个不是git的规则,而是gerrit的规则, 2. Branches, remote-tracking branches, and tags等等都是对commite的引用(reference),引用都以 “refs/……”表示. 比如remote branch ...

Tue May 16 03:12:00 CST 2017 0 6202
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM