$ git clone -n https://gitee.com/src-opencloudos-rpms/whois.git /var/lib/mock/dist-oc9-build-72264-47668/root/chroot_tmpdir/scmroot/whois Cloning into '/var/lib/mock/dist-oc9-build-72264-47668/root/chroot_tmpdir/scmroot/whois'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/whois * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a79394b import whois-5.5.20-1.tl4