$ git clone -n https://gitee.com/mgb01105731/expat_1.git /var/lib/mock/dist-an8.6-build-103812-45598/root/chroot_tmpdir/scmroot/expat_1 Cloning into '/var/lib/mock/dist-an8.6-build-103812-45598/root/chroot_tmpdir/scmroot/expat_1'... $ git reset --hard afd6fec1bd4923be30fb158cf834144257b67f9e HEAD is now at afd6fec Add doc sub package