$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-bnxt.git /var/lib/mock/dist-an23-kernel-5.10.134-17-build-397896-71967/root/chroot_tmpdir/scmroot/kmod-bnxt Cloning into '/var/lib/mock/dist-an23-kernel-5.10.134-17-build-397896-71967/root/chroot_tmpdir/scmroot/kmod-bnxt'... $ git fetch origin an23/5.10.134-17.an23-1.10.3_229.0.139.0:KOJI_FETCH_HEAD From git+ssh://gitee.com/src-anolis-sig/kmod-bnxt * [new branch] an23/5.10.134-17.an23-1.10.3_229.0.139.0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f479d75 Build 5.10.134-17.an23 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/an23/5.10.134-17.an23-1.10.3_229.0.139.0 HEAD is now at f479d75 Build 5.10.134-17.an23 anolis_release=2