$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-mellanox-rdma.git /var/lib/mock/dist-an8.8-kernel-5.10-build-341487-69758/root/chroot_tmpdir/scmroot/kmod-mellanox-rdma Cloning into '/var/lib/mock/dist-an8.8-kernel-5.10-build-341487-69758/root/chroot_tmpdir/scmroot/kmod-mellanox-rdma'... $ git fetch origin testing/an8/5.10.134-16.1.an8:KOJI_FETCH_HEAD From git+ssh://gitee.com/src-anolis-sig/kmod-mellanox-rdma * [new branch] testing/an8/5.10.134-16.1.an8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c5fdd2a kernel-core $ git lfs pull git: 'lfs' is not a git command. See 'git --help'. The most similar command is log $ git reset --hard origin/testing/an8/5.10.134-16.1.an8 HEAD is now at c5fdd2a kernel-core