$ git clone -n https://gitee.com/lxpzlm/rest.git /var/lib/mock/dist-an8.6-build-98497-45576/root/chroot_tmpdir/scmroot/rest Cloning into '/var/lib/mock/dist-an8.6-build-98497-45576/root/chroot_tmpdir/scmroot/rest'... $ git reset --hard d0f8d55bceaa2c1f3a25fd3b1f4a8f5b28af0c17 HEAD is now at d0f8d55 add doc sub package