$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-Text-Soundex.git /var/lib/mock/dist-an7-build-32723-16079/root/chroot_tmpdir/scmroot/perl-Text-Soundex Cloning into '/var/lib/mock/dist-an7-build-32723-16079/root/chroot_tmpdir/scmroot/perl-Text-Soundex'... $ git reset --hard origin/a7 HEAD is now at 3502079 import perl-Text-Soundex-3.04-4.el7.src.rpm