3.11. lfc-clone: Clone a repo (using git) and pull all mode-2 LFC files

This function is equivalent to calling git clone but with two additional actions after the git clone operation is completed:

  1. Install hooks (see lfc install-hooks)

  2. Pull most recent version of all mode-2 files (lfc auto-pull)

It is equivalent to a normal git clone followed by those two commands.

Usage:
$ lfc clone IN_REPO [OUT_REPO] [OPTIONS]
Inputs:
  • IN_REPO: URL to repo to fork or clone

  • OUT_REPO: Name of new repo; default is base name of IN_REPO, with .git appended if cloning to a bare repo

Options:
-h, --help

Display this help message and exit

--bare

The new copy of the repo will be bare (no working files)