$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/mythes-pt.git /var/lib/mock/dist-an7-build-40097-20007/root/chroot_tmpdir/scmroot/mythes-pt Cloning into '/var/lib/mock/dist-an7-build-40097-20007/root/chroot_tmpdir/scmroot/mythes-pt'... $ git reset --hard origin/a7 HEAD is now at 80df52e import mythes-pt-0.20060817-11.el7.src.rpm