6

I have deployed code over Firebase Hosting. Now I want to clone that code to my local machine to work on it, and deploy it again.

I am a newbie in Firebase Hosting so any clues for this are accepted.

Thanks in advance.

AL.
  • 36,815
  • 10
  • 142
  • 281

2 Answers2

0

If you accidentally lost access to your files, you may be able to recover them with the approach outlined here: Firebase code pull.

But in general Firebase Hosting is not a replacement for a version control system, which is the preferred way of working on a single project from multiple systems.

Community
  • 1
  • 1
Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
0

If you had static HTML-JS-CSS codes, you are most likely to get your code back using some tools/tricks/hacks. One of them is this-

https://gist.github.com/mbleigh/9c8680cf319ace2f506f57380da66e7d

But, if you had your code on Angular or something similar, you can't get the code back for obvious reasons.

Vibhor Dube
  • 4,173
  • 1
  • 22
  • 32