pachctl start commit

Start a new commit.

Synopsis

Start a new commit with parent-commit as the parent, or start a commit on the given branch; if the branch does not exist, it will be created.

pachctl start commit <repo>@<branch-or-commit>

Examples

```sh
# Start a new commit in repo "test" that's not on any branch
$ pachctl start commit test

# Start a commit in repo "test" on branch "master"
$ pachctl start commit [email protected]

# Start a commit with "master" as the parent in repo "test", on a new branch "patch"; essentially a fork.
$ pachctl start commit [email protected] -p master

# Start a commit with XXX as the parent in repo "test", not on any branch
$ pachctl start commit test -p XXX

### Options
  --description string   A description of this commit's contents (synonym for --message)

-m, –message string A description of this commit’s contents -p, –parent string The parent of the new commit, unneeded if branch is specified and you want to use the previous head of the branch as the parent.


### Options inherited from parent commands

-v, –verbose Output verbose logs