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