Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 830 Bytes

link.md

File metadata and controls

35 lines (25 loc) · 830 Bytes
title description
Netlify CLI link command
Link an existing site to a local site directory

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