$ git clone -n https://gitee.com/mgb01105731/rpm_1.git /var/lib/mock/dist-an23-build-141983-53932/root/chroot_tmpdir/scmroot/rpm_1 Cloning into '/var/lib/mock/dist-an23-build-141983-53932/root/chroot_tmpdir/scmroot/rpm_1'... $ git reset --hard 95614b65061b3c74374e206b56b36410adf2a5e7 HEAD is now at 95614b6 optimise spec file