15

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?

Rohan Kadkol
  • 501
  • 6
  • 9
  • 1
    https://stackoverflow.com/a/52131191: Quote, "you should definitely add the `.firebase` directory to your .gitignore or equivalent file, since it contains information that's not strictly part of your project, and is likely not applicable for everyone sharing and contributing to your project source code." – CrazyVideoGamer Jun 27 '21 at 19:24

1 Answers1

21

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.

Tarik Huber
  • 7,061
  • 2
  • 12
  • 18