$ git clone -n https://gitee.com/src-opencloudos-rpms/libtomcrypt.git /var/lib/mock/dist-oc9-build-47026-14592/root/chroot_tmpdir/scmroot/libtomcrypt Cloning into '/var/lib/mock/dist-oc9-build-47026-14592/root/chroot_tmpdir/scmroot/libtomcrypt'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libtomcrypt * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bf680f9 import libtomcrypt-1.18.2-3.tl4