$ git clone -n https://gitee.com/anolis/kmod-ast.git /var/lib/mock/dist-an8-exp-oot-build-224926-62281/root/chroot_tmpdir/scmroot/kmod-ast Cloning into '/var/lib/mock/dist-an8-exp-oot-build-224926-62281/root/chroot_tmpdir/scmroot/kmod-ast'... $ git reset --hard origin/testing-a8/3 HEAD is now at f4b87e8 change kernel to 5.10.134-12.an8