$ git clone -n https://gitee.com/lxpzlm/smartmontools.git /var/lib/mock/dist-an8.6-build-101514-45598/root/chroot_tmpdir/scmroot/smartmontools Cloning into '/var/lib/mock/dist-an8.6-build-101514-45598/root/chroot_tmpdir/scmroot/smartmontools'... $ git reset --hard edb1534e45ba57beb90d19e7d58fb9d118757cc1 HEAD is now at edb1534 add doc sub package