$ git clone -n https://gitee.com/hongwei-qin/net-snmp.git /var/lib/mock/dist-an23.3-build-426069-72983/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-an23.3-build-426069-72983/root/chroot_tmpdir/scmroot/net-snmp'... $ git fetch origin 2f4fe2908455d9899e78283c0d5a1f9084eca139:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/net-snmp * [new ref] 2f4fe2908455d9899e78283c0d5a1f9084eca139 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2f4fe29 update to 5.9.4