$ git clone -n https://gitee.com/src-anolis-os/openchange.git /var/lib/mock/dist-an8.7-build-270316-64112/root/chroot_tmpdir/scmroot/openchange Cloning into '/var/lib/mock/dist-an8.7-build-270316-64112/root/chroot_tmpdir/scmroot/openchange'... $ git reset --hard a507d6d34137eb0f2c84db6ae46ad65e758c931b HEAD is now at a507d6d update to openchange-2.3-31.el8 $ git lfs pull git: 'lfs' is not a git command. See 'git --help'. The most similar command is log