$ git clone -n https://gitee.com/dashnfschina/krb5.git /var/lib/mock/dist-an23.1-devel-build-366526-71303/root/chroot_tmpdir/scmroot/krb5 Cloning into '/var/lib/mock/dist-an23.1-devel-build-366526-71303/root/chroot_tmpdir/scmroot/krb5'... $ git fetch origin a5a3943149efe11a0eb6a1d023b201add2976405:KOJI_FETCH_HEAD From https://gitee.com/dashnfschina/krb5 * [new ref] a5a3943149efe11a0eb6a1d023b201add2976405 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a5a3943 update to 1.21.2