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