git ignore file ignored the whole client

git ignore ignored the whole client rather than just the generated
directory