Closed smaboshe closed 3 months ago
Have you considered adding the Google Project IDX files to your local .gitignore instead? This way, you don't need to include IDE-specific rules in each project's .gitignore file:
To always ignore a certain file or directory, add it to a file named ignore that's located inside the directory ~/.config/git.
Have you considered adding the Google Project IDX files to your local .gitignore instead? This way, you don't need to include IDE-specific rules in each project's .gitignore file:
To always ignore a certain file or directory, add it to a file named ignore that's located inside the directory ~/.config/git.
Good call!
Yes, I have added this to my local (laptop) setup. The addition here is so that IDX ignores it as well. I'll see if there is a way to add a global .gitignore
to IDX. I think that will be cleaner.
I have managed to create a global . gitignore
for the IDX environment.
When using Google Project IDX, it sets up a local customisations folder (
.idx
). This commit ignores that folder.This commit also sorts the Git ignore file to make it easier to scan.
Ref: