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