$ git clone -n https://gitee.com/wenyuzifang/libreswan.git /var/lib/mock/dist-an23-build-471860-74118/root/chroot_tmpdir/scmroot/libreswan Cloning into '/var/lib/mock/dist-an23-build-471860-74118/root/chroot_tmpdir/scmroot/libreswan'... $ git fetch origin 0fc212038ae1eca146633b54d05657ac88203bf2:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/libreswan * [new ref] 0fc212038ae1eca146633b54d05657ac88203bf2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0fc2120 Update code from upstream