$ git clone -n https://gitee.com/src-opencloudos-rpms/thrift.git /var/lib/mock/dist-oc9-build-72136-47647/root/chroot_tmpdir/scmroot/thrift Cloning into '/var/lib/mock/dist-oc9-build-72136-47647/root/chroot_tmpdir/scmroot/thrift'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/thrift * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c24181c import thrift-0.14.0-7.tl4