$ git clone -n https://gitee.com/src-anolis-os/libreswan.git /var/lib/mock/dist-an23.3-build-421752-72908/root/chroot_tmpdir/scmroot/libreswan Cloning into '/var/lib/mock/dist-an23.3-build-421752-72908/root/chroot_tmpdir/scmroot/libreswan'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libreswan * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 15c98b8 Update to 5.1 from 4.12