$ git clone -n https://gitee.com/src-opencloudos-rpms/thrift.git /var/lib/mock/dist-oc9-build-80798-53983/root/chroot_tmpdir/scmroot/thrift Cloning into '/var/lib/mock/dist-oc9-build-80798-53983/root/chroot_tmpdir/scmroot/thrift'... $ git fetch origin 85eeb009506ade401a772c8d7eadf374751e4b5b:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/thrift * [new ref] 85eeb009506ade401a772c8d7eadf374751e4b5b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 85eeb00 import thrift-0.14.0-9.tl4