Should we (git / version control) track .firebase folder for Firebase Hosting?

Viewed 926

I have hosted my Flutter app using Firebase Hosting. After hosting it, I noticed that a .firebase folder was created that contains just one file, hosting.<alphanumeric>.cache.

Should I track the contents of the .firebase folder? Or should I add the .firebase folder to the .gitignore?

1 Answers

It is there to make your hosting deplyoment faster. It is used to check if files have changed since the last deployment.

It is recommended to put it to your .gitignore file.

Related