Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 747 Bytes

link.md

File metadata and controls

34 lines (24 loc) · 747 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

  • 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