$ git clone -n https://gitee.com/opencloudos-stream/nmap.git /var/lib/mock/dist-ocs23-build-43123-2059/root/chroot_tmpdir/scmroot/nmap Cloning into '/var/lib/mock/dist-ocs23-build-43123-2059/root/chroot_tmpdir/scmroot/nmap'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/nmap * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0d5d086 !1 update to 7.93 Merge pull request !1 from abushwang/master