$ git clone -n git+ssh://git@gitee.com/src-anolis-sig/kmod-intel-QAT20.git /var/lib/mock/dist-an8.8-kernel-5.10.134-18-build-411041-72748/root/chroot_tmpdir/scmroot/kmod-intel-QAT20 Cloning into '/var/lib/mock/dist-an8.8-kernel-5.10.134-18-build-411041-72748/root/chroot_tmpdir/scmroot/kmod-intel-QAT20'... $ git fetch origin an8/5.10.134-18.an8-L.1.2.30-00090:KOJI_FETCH_HEAD From git+ssh://gitee.com/src-anolis-sig/kmod-intel-QAT20 * [new branch] an8/5.10.134-18.an8-L.1.2.30-00090 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b96c20f Build 5.10.134-18.an8 anolis_release=1 $ 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-18.an8-L.1.2.30-00090 HEAD is now at b96c20f Build 5.10.134-18.an8 anolis_release=1