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