$ git clone -n https://gitee.com/opencloudos-stream/libreswan.git /var/lib/mock/dist-ocs23-base-build-286170-27873/root/chroot_tmpdir/scmroot/libreswan Cloning into '/var/lib/mock/dist-ocs23-base-build-286170-27873/root/chroot_tmpdir/scmroot/libreswan'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/libreswan * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2390f9d Rebuilt for clarifying the packages requirement in BaseOS and AppStream