$ git clone -n https://gitee.com/opencloudos-stream/libreswan.git /var/lib/mock/dist-ocs23-build-48141-2111/root/chroot_tmpdir/scmroot/libreswan Cloning into '/var/lib/mock/dist-ocs23-build-48141-2111/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 49d05d5 !1 update to 4.12 Merge pull request !1 from abushwang/master