$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libvisio.git /var/lib/mock/dist-an7-build-40076-20007/root/chroot_tmpdir/scmroot/libvisio Cloning into '/var/lib/mock/dist-an7-build-40076-20007/root/chroot_tmpdir/scmroot/libvisio'... $ git reset --hard origin/a7 HEAD is now at 107f31e import libvisio-0.1.6-1.el7.src.rpm