$ git clone -n https://gitee.com/src-anolis-os/mpage.git /var/lib/mock/dist-an7-build-61371-33930/root/chroot_tmpdir/scmroot/mpage Cloning into '/var/lib/mock/dist-an7-build-61371-33930/root/chroot_tmpdir/scmroot/mpage'... $ git reset --hard origin/a7 HEAD is now at fc63a64 import mpage-2.5.6-14.el7.src.rpm