$ git clone -n https://gitee.com/wb-qtt862918/expat.git /var/lib/mock/dist-an8.6-build-164242-58730/root/chroot_tmpdir/scmroot/expat Cloning into '/var/lib/mock/dist-an8.6-build-164242-58730/root/chroot_tmpdir/scmroot/expat'... $ git reset --hard e2a7fb9aa8079f1b31cad3ef06e8c59c8e50dd8a HEAD is now at e2a7fb9 optimise spec file