$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libmatchbox.git /var/lib/mock/dist-an7-build-31863-15819/root/chroot_tmpdir/scmroot/libmatchbox Cloning into '/var/lib/mock/dist-an7-build-31863-15819/root/chroot_tmpdir/scmroot/libmatchbox'... $ git reset --hard origin/a7 HEAD is now at 394a981 import libmatchbox-1.9-15.el7.src.rpm