$ git clone -n https://gitee.com/src-opencloudos-rpms/dhcp.git /var/lib/mock/dist-oc9-build-69683-47325/root/chroot_tmpdir/scmroot/dhcp Cloning into '/var/lib/mock/dist-oc9-build-69683-47325/root/chroot_tmpdir/scmroot/dhcp'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/dhcp * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 784932c import dhcp-4.4.3-5.P1.tl4