$ git clone -n https://gitee.com/src-opencloudos-rpms/thrift.git /var/lib/mock/dist-oc9-build-251274-84090/root/chroot_tmpdir/scmroot/thrift Cloning into '/var/lib/mock/dist-oc9-build-251274-84090/root/chroot_tmpdir/scmroot/thrift'... $ git fetch origin 490ce37400cf1a318b0e8df8e221d8923912ada3:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/thrift * [new ref] 490ce37400cf1a318b0e8df8e221d8923912ada3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 490ce37 import thrift-0.24.0-1.tl4