$ git clone -n https://gitee.com/wency_cn/net-snmp_1770971768.git /var/lib/mock/dist-an23-build-514521-75110/root/chroot_tmpdir/scmroot/net-snmp_1770971768 Cloning into '/var/lib/mock/dist-an23-build-514521-75110/root/chroot_tmpdir/scmroot/net-snmp_1770971768'... $ git fetch origin 189a222fb2e8fe6dd6168971e4c2b00d589b0ff5:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/net-snmp_1770971768 * [new ref] 189a222fb2e8fe6dd6168971e4c2b00d589b0ff5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 189a222 Update code from upstream