$ git clone -n https://gitee.com/src-opencloudos-rpms/libreswan.git /var/lib/mock/dist-oc8-build-73374-48881/root/chroot_tmpdir/scmroot/libreswan Cloning into '/var/lib/mock/dist-oc8-build-73374-48881/root/chroot_tmpdir/scmroot/libreswan'... $ git fetch origin 505e813225f3dc6c16f01820c252d15f2354bea9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libreswan * [new ref] 505e813225f3dc6c16f01820c252d15f2354bea9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 505e813 import libreswan-4.12-2.tl3.2