Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 983 Bytes

File metadata and controls

30 lines (22 loc) · 983 Bytes
title Netlify CLI init command
sidebar
label
init
description Initialize a new project locally

init

Configure continuous deployment for a new or existing project. To create a new project without continuous deployment, use netlify sites:create

Usage

netlify init

Flags

  • filter (string) - For monorepos, specify the name of the application to run the command in
  • force (boolean) - Reinitialize CI hooks if the linked project is already configured to use CI
  • git (boolean) - Use Netlify-hosted git for deploys (no external provider needed)
  • git-remote-name (string) - Name of Git remote to use. e.g. "origin"
  • manual (boolean) - Manually configure a git remote for CI
  • debug (boolean) - Print debugging information
  • auth (string) - Netlify auth token - can be used to run this command without logging in