$ git clone -n https://gitee.com/src-anolis-os/php.git /var/lib/mock/dist-an8.6-build-127094-46180/root/chroot_tmpdir/scmroot/php Cloning into '/var/lib/mock/dist-an8.6-build-127094-46180/root/chroot_tmpdir/scmroot/php'... $ git reset --hard 131225dbbe56fa3abb56277514fdf056e2f73657 HEAD is now at 131225d update to php-5.4.16-48.el7.src.rpm