$ git clone -n https://gitee.com/src-opencloudos-rpms/nmap /var/lib/mock/dist-oc8-build-27712-8538/root/chroot_tmpdir/scmroot/nmap Cloning into '/var/lib/mock/dist-oc8-build-27712-8538/root/chroot_tmpdir/scmroot/nmap'... $ git reset --hard origin/oc8 HEAD is now at 5aaa496 import nmap-7.70-8.tl3