$ git clone -n https://gitee.com/wangpingping000/libX11.git /var/lib/mock/dist-an23-build-161043-58581/root/chroot_tmpdir/scmroot/libX11 Cloning into '/var/lib/mock/dist-an23-build-161043-58581/root/chroot_tmpdir/scmroot/libX11'... $ git reset --hard 297d57dc7be20a350ede48bf025fa7aad89e5e9d HEAD is now at 297d57d optimise spec file