$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/mlnx-tools.git /var/lib/mock/dist-an8.8-kernel-5.10-build-366651-69758/root/chroot_tmpdir/scmroot/mlnx-tools Cloning into '/var/lib/mock/dist-an8.8-kernel-5.10-build-366651-69758/root/chroot_tmpdir/scmroot/mlnx-tools'... $ git fetch origin a8:KOJI_FETCH_HEAD From git+ssh://gitee.com/src-anolis-sig/mlnx-tools * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at de1e349 test $ git lfs pull git: 'lfs' is not a git command. See 'git --help'. The most similar command is log $ git reset --hard origin/a8 HEAD is now at de1e349 test