$ git clone -n https://gitee.com/wenjie2025/net-snmp_1770042011.git /var/lib/mock/dist-an23-build-510987-75057/root/chroot_tmpdir/scmroot/net-snmp_1770042011 Cloning into '/var/lib/mock/dist-an23-build-510987-75057/root/chroot_tmpdir/scmroot/net-snmp_1770042011'... $ git fetch origin a7200a0040dc13048ccd784cbe9170abc775c20f:KOJI_FETCH_HEAD From https://gitee.com/wenjie2025/net-snmp_1770042011 * [new ref] a7200a0040dc13048ccd784cbe9170abc775c20f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a7200a0 Update code from upstream