$ git clone -n https://gitee.com/src-anolis-os/lz4.git /var/lib/mock/dist-an23-build-141702-53403/root/chroot_tmpdir/scmroot/lz4 Cloning into '/var/lib/mock/dist-an23-build-141702-53403/root/chroot_tmpdir/scmroot/lz4'... $ git reset --hard origin/a23 HEAD is now at 001e67f optimise spec file