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