$ git clone -n https://gitee.com/mgb01105731/dde.git /var/lib/mock/dist-an23-dde-build-379506-71802/root/chroot_tmpdir/scmroot/dde Cloning into '/var/lib/mock/dist-an23-dde-build-379506-71802/root/chroot_tmpdir/scmroot/dde'... $ git reset --hard 5a8317f9ead6b6ddab05cd384d9a6970433c1d63 HEAD is now at 5a8317f get tar from source