$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-mellanox.git /var/lib/mock/dist-an23-kernel-6.6.71-3-build-439999-73147/root/chroot_tmpdir/scmroot/kmod-mellanox Cloning into '/var/lib/mock/dist-an23-kernel-6.6.71-3-build-439999-73147/root/chroot_tmpdir/scmroot/kmod-mellanox'... $ git fetch origin an23/6.6.71-3.an23-25.01:KOJI_FETCH_HEAD From git+ssh://gitee.com/src-anolis-sig/kmod-mellanox * [new branch] an23/6.6.71-3.an23-25.01 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d4ddfa7 Build 6.6.71-3.an23 anolis_release=1 $ git lfs pull git: 'lfs' is not a git command. See 'git --help'. The most similar command is log $ git reset --hard origin/an23/6.6.71-3.an23-25.01 HEAD is now at d4ddfa7 Build 6.6.71-3.an23 anolis_release=1