$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-Socket.git /var/lib/mock/dist-an7-build-29753-15424/root/chroot_tmpdir/scmroot/perl-Socket Cloning into '/var/lib/mock/dist-an7-build-29753-15424/root/chroot_tmpdir/scmroot/perl-Socket'... $ git reset --hard origin/a7 HEAD is now at 396017f import perl-Socket-2.010-4.el7.src.rpm