$ git clone -n https://gitee.com/guyvwang/js-jquery.git /var/lib/mock/dist-an23-build-251430-63418/root/chroot_tmpdir/scmroot/js-jquery Cloning into '/var/lib/mock/dist-an23-build-251430-63418/root/chroot_tmpdir/scmroot/js-jquery'... $ git reset --hard 230426ffa234a4c5190160156fb9b59dcd571761 HEAD is now at 230426f optimise spec file