Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 335
Rohan Kadkol Avatar asked Dec 13 '25 12:12

Rohan Kadkol


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.

like image 172
Tarik Huber Avatar answered Dec 16 '25 04:12

Tarik Huber



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!