$ git clone -n https://gitee.com/src-opencloudos-rpms/libvisio.git /var/lib/mock/dist-oc9-build-123006-72637/root/chroot_tmpdir/scmroot/libvisio Cloning into '/var/lib/mock/dist-oc9-build-123006-72637/root/chroot_tmpdir/scmroot/libvisio'... $ git fetch origin b93c87cca0e53661275d9ccff0efb7979d8dd167:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libvisio * [new ref] b93c87cca0e53661275d9ccff0efb7979d8dd167 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b93c87c import libvisio-0.1.7-10.tl4