$ git clone -n https://gitee.com/lxpzero/anolis-release.git /var/lib/mock/dist-an8.8-build-347623-69701/root/chroot_tmpdir/scmroot/anolis-release Cloning into '/var/lib/mock/dist-an8.8-build-347623-69701/root/chroot_tmpdir/scmroot/anolis-release'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/anolis-release * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 01c18a0 update anolis-release.spec.