$ git clone -n https://gitee.com/anolis/kmod-mlnx-ofa_kernel.git /var/lib/mock/dist-an8-exp-oot-build-227999-62285/root/chroot_tmpdir/scmroot/kmod-mlnx-ofa_kernel Cloning into '/var/lib/mock/dist-an8-exp-oot-build-227999-62285/root/chroot_tmpdir/scmroot/kmod-mlnx-ofa_kernel'... $ git reset --hard abdb9b065d6046ad1aaa923740ea5e8df4439120 HEAD is now at abdb9b0 updated testing-a8/3 form src: #92731d960d50db35f42c09cabfcf8f0cafd1c577