$ git clone -n https://gitee.com/zhang_dashuang/krb5.git /var/lib/mock/dist-an23-build-361306-71197/root/chroot_tmpdir/scmroot/krb5 Cloning into '/var/lib/mock/dist-an23-build-361306-71197/root/chroot_tmpdir/scmroot/krb5'... $ git fetch origin cb2a0c9bf455c76f30da589a8b89e421016b9e54:KOJI_FETCH_HEAD From https://gitee.com/zhang_dashuang/krb5 * [new ref] cb2a0c9bf455c76f30da589a8b89e421016b9e54 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cb2a0c9 update to 1.21.2