$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-mellanox-rdma.git /var/lib/mock/dist-an23-build-340967-69863/root/chroot_tmpdir/scmroot/kmod-mellanox-rdma Cloning into '/var/lib/mock/dist-an23-build-340967-69863/root/chroot_tmpdir/scmroot/kmod-mellanox-rdma'... $ git fetch origin an23/5.10.134-16.1.an23:KOJI_FETCH_HEAD From git+ssh://gitee.com/src-anolis-sig/kmod-mellanox-rdma * [new branch] an23/5.10.134-16.1.an23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d1cc305 Build 5.10.134-16.1.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/5.10.134-16.1.an23 HEAD is now at d1cc305 Build 5.10.134-16.1.an23 anolis_release=1