$ git clone -n https://gitee.com/src-anolis-os/xhtml2fo-style-xsl.git /var/lib/mock/dist-an7-build-61918-34102/root/chroot_tmpdir/scmroot/xhtml2fo-style-xsl Cloning into '/var/lib/mock/dist-an7-build-61918-34102/root/chroot_tmpdir/scmroot/xhtml2fo-style-xsl'... $ git reset --hard origin/a7 HEAD is now at 3173dd9 import xhtml2fo-style-xsl-20051222-9.el7.src.rpm