$ git clone -n https://gitee.com/src-anolis-os/irqbalance.git /var/lib/mock/dist-an23-build-341173-69876/root/chroot_tmpdir/scmroot/irqbalance Cloning into '/var/lib/mock/dist-an23-build-341173-69876/root/chroot_tmpdir/scmroot/irqbalance'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/irqbalance * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 36c6269 rebuild