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