$ git clone -n https://gitee.com/mgb01105731/libedit_1.git /var/lib/mock/dist-an23-build-143476-57615/root/chroot_tmpdir/scmroot/libedit_1 Cloning into '/var/lib/mock/dist-an23-build-143476-57615/root/chroot_tmpdir/scmroot/libedit_1'... $ git reset --hard 4b1eae35647edc3a232100658963a98f93f4585c HEAD is now at 4b1eae3 optimise spec file