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