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