Ionic 5 PWA - .gitignore

I have a general question regarding setting up my .gitignore. I know a generic .gitignore is generated with the Ionic project, but if I am hosting a my PWA on firebase are there any firebase files that I should include in the .gitignore to make sure nothing sensitive gets tracked?

I haven’t found many resources on what “best practices” for .gitignores in this scenario, sorry if this is a repeat question.

to get started, what would do you consider sensitive? and there you have something to begin with…

1 Like

.firebase/

I have in my .gitignore. All other stuff is ok (firebase.json). I don’t think it is sensitive stuff, but no need to publish internal caching stuff of firebase

Tom

Hi Tom, thanks for the feedback. How about .firebaserc? I noticed that was ignored in a firebase demo project. It contains the firebase proj name. Think it makes sense to also ignore that, right?

Sure
Not needed for others to redeploy as own project

1 Like