$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perltidy.git /var/lib/mock/dist-an7-build-32733-16085/root/chroot_tmpdir/scmroot/perltidy Cloning into '/var/lib/mock/dist-an7-build-32733-16085/root/chroot_tmpdir/scmroot/perltidy'... $ git reset --hard origin/a7 HEAD is now at a8afb2c import perltidy-20121207-3.el7.src.rpm