$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-lpfc.git /var/lib/mock/dist-an23-kernel-5.10.134-17-build-390078-71967/root/chroot_tmpdir/scmroot/kmod-lpfc Cloning into '/var/lib/mock/dist-an23-kernel-5.10.134-17-build-390078-71967/root/chroot_tmpdir/scmroot/kmod-lpfc'... $ git fetch origin an23/5.10.134-17.an23-14.2.673.37:KOJI_FETCH_HEAD From git+ssh://gitee.com/src-anolis-sig/kmod-lpfc * [new branch] an23/5.10.134-17.an23-14.2.673.37 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0b0b15a Build 5.10.134-17.an23 anolis_release=8 $ 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-14.2.673.37 HEAD is now at 0b0b15a Build 5.10.134-17.an23 anolis_release=8