Options
All
  • Public
  • Public/Protected
  • All
Menu

Git clone options.

Hierarchy

  • Clone

Index

Properties

Properties

branch?: string

The branch to checkout after the clone has completed. If not given, the default branch will will be the current one which is usually the master.

localUri: string

The desired destination path (given as a URI) for the cloned repository. If the path does not exist it will be created. Cloning into an existing directory is only allowed if the directory is empty.