$ git clone -n https://gitee.com/src-opencloudos-rpms/libreswan /var/lib/mock/dist-oc8-build-56931-15178/root/chroot_tmpdir/scmroot/libreswan Cloning into '/var/lib/mock/dist-oc8-build-56931-15178/root/chroot_tmpdir/scmroot/libreswan'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libreswan * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ca9841f import libreswan-4.9-3.tl3