Netlify CLI


link

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

Usage

netlify link

Flags

  • id (string) - ID of site to link to
  • name (string) - Name of site to link to
  • gitRemoteName (string) - Name of Git remote to use. e.g. "origin"
  • debug (boolean) - Print debugging information
  • httpProxy (string) - Proxy server address to route requests through.
  • httpProxyCertificateFilename (string) - Certificate file to use when connecting using a proxy server

Examples

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