$ git clone -n https://gitee.com/mgb01105731/tcl_1.git /var/lib/mock/dist-an23-build-135967-50256/root/chroot_tmpdir/scmroot/tcl_1 Cloning into '/var/lib/mock/dist-an23-build-135967-50256/root/chroot_tmpdir/scmroot/tcl_1'... $ git reset --hard 972bfd129ab3797146c6d76e95c4ad19ecebc9ec HEAD is now at 972bfd1 optimise spec file