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