$ git clone -n https://gitee.com/YouYuanLu/net-snmp.git /var/lib/mock/dist-an23.3-build-427270-73009/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-an23.3-build-427270-73009/root/chroot_tmpdir/scmroot/net-snmp'... $ git fetch origin 761a4e435fcb9662caa9d19090f9729c153153e2:KOJI_FETCH_HEAD From https://gitee.com/YouYuanLu/net-snmp * [new ref] 761a4e435fcb9662caa9d19090f9729c153153e2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 761a4e4 add compatibility parsing /proc/net/snmp