$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-i40e.git /var/lib/mock/dist-an23-kernel-5.10.134-17-build-390228-71967/root/chroot_tmpdir/scmroot/kmod-i40e Cloning into '/var/lib/mock/dist-an23-kernel-5.10.134-17-build-390228-71967/root/chroot_tmpdir/scmroot/kmod-i40e'... $ git fetch origin an23/5.10.134-17.an23-2.23.17:KOJI_FETCH_HEAD From git+ssh://gitee.com/src-anolis-sig/kmod-i40e * [new branch] an23/5.10.134-17.an23-2.23.17 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at af7598f Build 5.10.134-17.an23 anolis_release=18 $ git lfs pull git: 'lfs' is not a git command. See 'git --help'. The most similar command is log $ git reset --hard origin/an23/5.10.134-17.an23-2.23.17 HEAD is now at af7598f Build 5.10.134-17.an23 anolis_release=18