【发布时间】:2017-12-07 21:58:57
【问题描述】:
Jenkins Git 插件根据我的参考规范在控制台输出中生成了以下命令
-
以下两个命令有什么区别?他们的输出看起来几乎没有什么不同。我在下面给出了他们的输出:
命令 1:
git fetch --no-tags --progress repo.git <strong><em>+refs/heads/qa:refs/remotes/origin/qa</em></strong> --depth=1输出:
From <repo> * [new branch] qa -> origin/qa命令 2:
git fetch --no-tags --progress repo.git <strong><em>refs/heads/qa</em></strong> --depth=1输出:
From <repo> * branch qa -> FETCH_HEAD 这里的 FETCH_HEAD 是什么意思?
-
我相信
refs/heads/qa是“qa”分支的本地工作副本,refs/remotes/origin/qa是远程“qa”分支。但是,这个约定意味着什么?+refs/heads/qa:refs/remotes/origin/qa
【问题讨论】:
标签: git