Skip to content
flypod
CLI reference

flypod forget

Remove the local folder-to-site memory; the deployed site is unaffected.

flypod forget removes the local folder-to-site link. The deployed site is not affected; this only clears local memory in projects.json.

Synopsis

flypod forget [--site <id>]

With no flag, flypod forgets the current folder's link. With --site, flypod forgets every folder linked to that site id.

Flags

FlagDescription
--site <id>Forget every folder linked to this site id.
--jsonEmit {"ok":true,"forgotten":<n>,"site_id":"…"} on stdout. forgotten is how many links were removed; site_id is omitted when nothing was linked to this folder.
-h, --helpPrint usage and exit.

Examples

Forget the current folder's link:

flypod forget

Forget all folders linked to a site:

flypod forget --site a3f1c2d4e5b60789

Notes

  • This does not delete or expire the deployed site. It only removes local links so flypod update, flypod versions, and flypod rollback no longer resolve a site automatically from this folder.
  • The link is also where this machine keeps an anonymous site's manage_token, so forgetting it means this machine can no longer update that site, and a later flypod login will not attach it. To keep a temporary site, run flypod login before forgetting it.
  • Forgetting something that is not linked is not an error: it exits 0 with forgotten: 0.
  • After forgetting, run flypod to create a new deploy and link, or pass --site <id> to the version commands explicitly.

On this page