$ git clone -n https://gitee.com/opencloudos-stream/dhcp.git /var/lib/mock/dist-ocs23-build-36440-2017/root/chroot_tmpdir/scmroot/dhcp Cloning into '/var/lib/mock/dist-ocs23-build-36440-2017/root/chroot_tmpdir/scmroot/dhcp'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/dhcp * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f4dbb24 !1 Upgrade to 4.4.3-P1 Merge pull request !1 from kianli/master