$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-mellanox.git /var/lib/mock/dist-an8.8-kernel-5.10.134-17-build-387758-71960/root/chroot_tmpdir/scmroot/kmod-mellanox Cloning into '/var/lib/mock/dist-an8.8-kernel-5.10.134-17-build-387758-71960/root/chroot_tmpdir/scmroot/kmod-mellanox'... $ git fetch origin an8/5.10.134-17.an8-23.10:KOJI_FETCH_HEAD From git+ssh://gitee.com/src-anolis-sig/kmod-mellanox * [new branch] an8/5.10.134-17.an8-23.10 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9a9b44c Build 5.10.134-17.an8 anolis_release=2 $ git lfs pull git: 'lfs' is not a git command. See 'git --help'. The most similar command is log $ git reset --hard origin/an8/5.10.134-17.an8-23.10 HEAD is now at 9a9b44c Build 5.10.134-17.an8 anolis_release=2