Fix gitignore to ignore generated codes