$ git clone -n https://gitee.com/src-opencloudos-rpms/libreswan.git /var/lib/mock/dist-oc8-build-38789-12716/root/chroot_tmpdir/scmroot/libreswan Cloning into '/var/lib/mock/dist-oc8-build-38789-12716/root/chroot_tmpdir/scmroot/libreswan'... $ git reset --hard origin/oc8 HEAD is now at ca9841f import libreswan-4.9-3.tl3