$ git clone -n https://gitee.com/src-opencloudos-rpms/libreswan.git /var/lib/mock/dist-oc8-build-36933-12041/root/chroot_tmpdir/scmroot/libreswan Cloning into '/var/lib/mock/dist-oc8-build-36933-12041/root/chroot_tmpdir/scmroot/libreswan'... $ git reset --hard origin/oc8 HEAD is now at 186f929 import libreswan-4.5-1.oc8.1