$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/mpfr.git /var/lib/mock/dist-an7-build-38142-18130/root/chroot_tmpdir/scmroot/mpfr Cloning into '/var/lib/mock/dist-an7-build-38142-18130/root/chroot_tmpdir/scmroot/mpfr'... $ git reset --hard origin/a7 HEAD is now at bc7580a import mpfr-3.1.1-4.el7.src.rpm