document the new branch & reset commands Change-Id: I6c374480f8cd99722077534c489550e30415e61f
diff --git a/src/main/resources/Documentation/config.md b/src/main/resources/Documentation/config.md index cd75027..ecf4ff9 100644 --- a/src/main/resources/Documentation/config.md +++ b/src/main/resources/Documentation/config.md
@@ -11,10 +11,12 @@ ``` [download] + command = branch command = checkout command = cherry_pick command = pull command = format_patch + command = reset scheme = ssh scheme = http scheme = anon_http @@ -29,6 +31,8 @@ Multiple commands are supported: + * `branch`: Command to fetch and create a new branch from the patch set. + * `checkout`: Command to fetch and checkout the patch set. * `cherry_pick`: Command to fetch the patch set and cherry-pick @@ -39,6 +43,9 @@ * `format_patch`: Command to fetch the patch set and feed it into the `format-patch` command. + * `reset`: Command to fetch the patch set and reset the current branch + (or HEAD) to it. + If `download.command` is not specified, all download commands are offered. @@ -109,4 +116,4 @@ <a id="gerrit.installCommitExtraCommand">gerrit.installCommitExtraCommand</a> Optional command to complete the commit-msg hook. For example: `git submodule update --init --recursive && git review -s` - would initialize the submodules and setup git review. \ No newline at end of file + would initialize the submodules and setup git review.