$ git clone -n https://gitee.com/src-opencloudos-rpms/fabtests /var/lib/mock/dist-oc8-build-56905-15178/root/chroot_tmpdir/scmroot/fabtests Cloning into '/var/lib/mock/dist-oc8-build-56905-15178/root/chroot_tmpdir/scmroot/fabtests'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/fabtests * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at da4f65f import fabtests-1.17.0-2.tl3