$ git clone -n https://gitee.com/src-anolis-os/nmap.git /var/lib/mock/dist-an8.6-build-184007-60261/root/chroot_tmpdir/scmroot/nmap Cloning into '/var/lib/mock/dist-an8.6-build-184007-60261/root/chroot_tmpdir/scmroot/nmap'... $ git fetch origin a8-poc:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/nmap * [new branch] a8-poc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 29c644b update to nmap-7.91-10.el9.src.rpm