$ git clone -n https://gitee.com/src-opencloudos-rpms/thrift.git /var/lib/mock/dist-oc9-build-246047-83423/root/chroot_tmpdir/scmroot/thrift Cloning into '/var/lib/mock/dist-oc9-build-246047-83423/root/chroot_tmpdir/scmroot/thrift'... $ git fetch origin 1c4120b5e6f98b1cfa9583eba6cb063d45cbf1e0:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/thrift * [new ref] 1c4120b5e6f98b1cfa9583eba6cb063d45cbf1e0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1c4120b import thrift-0.14.0-12.tl4