$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-TermReadKey.git /var/lib/mock/dist-an7-build-29769-15426/root/chroot_tmpdir/scmroot/perl-TermReadKey Cloning into '/var/lib/mock/dist-an7-build-29769-15426/root/chroot_tmpdir/scmroot/perl-TermReadKey'... $ git reset --hard origin/a7 HEAD is now at 277132a import perl-TermReadKey-2.30-20.el7.src.rpm