title | description |
---|---|
Netlify CLI link command |
Link an existing site to a local site directory |
Link a local repo or project folder to an existing site on Netlify
Usage
netlify link
Flags
id
(string) - ID of site to link toname
(string) - Name of site to link togitRemoteName
(string) - Name of Git remote to use. e.g. "origin"debug
(boolean) - Print debugging informationhttpProxy
(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