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