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
debug
(boolean) - Print debugging informationid
(option) - ID of site to link toname
(option) - Name of site to link togitRemoteName
(option) - Name of Git remote to use. e.g. "origin"
Examples
netlify link
netlify link --id 123-123-123-123
netlify link --name my-site-name