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