$ git clone -n https://gitee.com/happy_orange/kmod-rds-prefetch-tuning.git /var/lib/mock/dist-an8-exp-build-222590-62151/root/chroot_tmpdir/scmroot/kmod-rds-prefetch-tuning Cloning into '/var/lib/mock/dist-an8-exp-build-222590-62151/root/chroot_tmpdir/scmroot/kmod-rds-prefetch-tuning'... $ git reset --hard origin/a8 HEAD is now at c852178 1