$ git clone -n https://gitee.com/src-anolis-os/systemd.git /var/lib/mock/dist-an8.7-build-277572-64361/root/chroot_tmpdir/scmroot/systemd Cloning into '/var/lib/mock/dist-an8.7-build-277572-64361/root/chroot_tmpdir/scmroot/systemd'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/systemd * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 909ffb7 optimise spec file