Netlify CLI


link

Link a local repo or project folder to an existing site on Netlify

Usage

netlify link

Flags

  • filter (string) - For monorepos, specify the name of the application to run the command in
  • git-remote-name (string) - Name of Git remote to use. e.g. "origin"
  • id (string) - ID of site to link to
  • name (string) - Name of site to link to
  • debug (boolean) - Print debugging information

Examples

netlify link
netlify link --id 123-123-123-123
netlify link --name my-site-name