$ git clone -n https://gitee.com/src-anolis-os/pciutils.git /var/lib/mock/dist-an23-build-180894-59450/root/chroot_tmpdir/scmroot/pciutils Cloning into '/var/lib/mock/dist-an23-build-180894-59450/root/chroot_tmpdir/scmroot/pciutils'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/pciutils * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bdc48f9 updated to 3.9.0