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