$ git clone -n https://gitee.com/mgb01105731/pkgconf_1.git /var/lib/mock/dist-an23-build-142706-57615/root/chroot_tmpdir/scmroot/pkgconf_1 Cloning into '/var/lib/mock/dist-an23-build-142706-57615/root/chroot_tmpdir/scmroot/pkgconf_1'... $ git reset --hard d798b86728a42a8be35967ea1ce56877a9dc886f HEAD is now at d798b86 optimise spec file