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