$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/php.git /var/lib/mock/dist-an7-build-29829-15432/root/chroot_tmpdir/scmroot/php Cloning into '/var/lib/mock/dist-an7-build-29829-15432/root/chroot_tmpdir/scmroot/php'... $ git reset --hard origin/a7 HEAD is now at b4af38b update to php-5.4.16-46.1.el7_7.src.rpm