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