Commit 4c57e719 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Document opts for git-supertree add subcommand

.. and fix some WS issues.
parent 4beb043d
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -57,11 +57,14 @@ $SCRIPT convert [REPOPATH] [-m MASTER]
  -m --master  Point the base HEAD symbolic ref to MASTER
               (default: current HEAD)

$SCRIPT add [--from SOURCE] BRANCH[:PATH]
$SCRIPT add [--from SOURCE|--orphan] BRANCH[:PATH]
  Add a new worktree at PATH (default: BRANCH) with BRANCH checked-out. If a
  matching branch does not exist it is created from
  SOURCE (default: base 'HEAD').

  --from       Provide an origin reference
  --orphan     Create an orphaned branch (no commits)

$SCRIPT mv [--branch] NAME NEW-NAME
  Move a worktree to a new path.