$ git clone -n https://gitee.com/src-anolis-os/iperf3.git /var/lib/mock/dist-an23-build-341181-69876/root/chroot_tmpdir/scmroot/iperf3 Cloning into '/var/lib/mock/dist-an23-build-341181-69876/root/chroot_tmpdir/scmroot/iperf3'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/iperf3 * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 71437e2 update to version 3.16