$ git clone -n https://gitee.com/src-anolis-os/libreswan.git /mnt/mock/kojid//dist-an23.3-riscv-build-437389-73130/root/chroot_tmpdir/scmroot/libreswan Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437389-73130/root/chroot_tmpdir/scmroot/libreswan'... $ git fetch origin 15c98b8fb01994bcfdc2a20416b49734fbf9a553:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libreswan * [new ref] 15c98b8fb01994bcfdc2a20416b49734fbf9a553 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 15c98b8 Update to 5.1 from 4.12