$ git clone -n https://src.fedoraproject.org/rpms/php-ast.git /var/lib/mock/f33-build-604356-67286/root/chroot_tmpdir/scmroot/php-ast Cloning into '/var/lib/mock/f33-build-604356-67286/root/chroot_tmpdir/scmroot/php-ast'... $ git reset --hard fd569dc788b096ef67afc98ed3a4c65411eafb14 HEAD is now at fd569dc v1.0.11