$ git clone -n https://gitee.com/fundawang/libreswan.git /var/lib/mock/dist-an23-build-270223-64115/root/chroot_tmpdir/scmroot/libreswan Cloning into '/var/lib/mock/dist-an23-build-270223-64115/root/chroot_tmpdir/scmroot/libreswan'... $ git fetch origin 192a2d655fd91b0076d335a52b1bc27928b31ea9:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libreswan * [new ref] 192a2d655fd91b0076d335a52b1bc27928b31ea9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 192a2d6 4.11