$ git clone -n https://gitee.com/src-opencloudos-rpms/krb5.git /var/lib/mock/dist-oc8-build-81681-55706/root/chroot_tmpdir/scmroot/krb5 Cloning into '/var/lib/mock/dist-oc8-build-81681-55706/root/chroot_tmpdir/scmroot/krb5'... $ git fetch origin f87328158027f5d897a9766cc1c5a51ae88947a3:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/krb5 * [new ref] f87328158027f5d897a9766cc1c5a51ae88947a3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f873281 import krb5-1.18.2-28.tl3