$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-bnxt_en.git /var/lib/mock/dist-an23-kernel-5.10.134-17-build-391754-71967/root/chroot_tmpdir/scmroot/kmod-bnxt_en Cloning into '/var/lib/mock/dist-an23-kernel-5.10.134-17-build-391754-71967/root/chroot_tmpdir/scmroot/kmod-bnxt_en'... $ 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_en * [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 1735a4f Build 5.10.134-17.an23 anolis_release=7 $ 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 1735a4f Build 5.10.134-17.an23 anolis_release=7