$ git clone -n https://gitee.com/zhang_dashuang/krb5.git /var/lib/mock/dist-an23.1-devel-build-364263-71270/root/chroot_tmpdir/scmroot/krb5 Cloning into '/var/lib/mock/dist-an23.1-devel-build-364263-71270/root/chroot_tmpdir/scmroot/krb5'... $ git fetch origin 285f4e346626992da16062737e01c600f72a1195:KOJI_FETCH_HEAD From https://gitee.com/zhang_dashuang/krb5 * [new ref] 285f4e346626992da16062737e01c600f72a1195 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 285f4e3 update source0