$ git clone -n https://gitee.com/lxpzlm/libgdata.git /var/lib/mock/dist-an8.6-build-171010-58896/root/chroot_tmpdir/scmroot/libgdata Cloning into '/var/lib/mock/dist-an8.6-build-171010-58896/root/chroot_tmpdir/scmroot/libgdata'... $ git reset --hard 65493517a48047111703223cc6097fd1794c3f77 HEAD is now at 6549351 spec: add doc sub package