$ git clone -n https://gitee.com/src-anolis-os/texlive.git /var/lib/mock/dist-an8-build-69726-37229/root/chroot_tmpdir/scmroot/texlive Cloning into '/var/lib/mock/dist-an8-build-69726-37229/root/chroot_tmpdir/scmroot/texlive'... $ git reset --hard origin/a8 HEAD is now at 99a9f84 import texlive-20180414-23.el8.src.rpm