Skip to content

Commit

Permalink
doc: add the usage of the parameter --from for create-branch and fe…
Browse files Browse the repository at this point in the history
…ature
  • Loading branch information
vanpipy committed Nov 19, 2020
1 parent d3772eb commit b2b5c97
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 9 deletions.
8 changes: 7 additions & 1 deletion man/git-create-branch.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-CREATE\-BRANCH" "1" "June 2019" "" "Git Extras"
.TH "GIT\-CREATE\-BRANCH" "1" "November 2020" "" "Git Extras"
.
.SH "NAME"
\fBgit\-create\-branch\fR \- Create branches
Expand All @@ -19,6 +19,12 @@ Creates local branch named <branchname> and optionally sets up a remote tracking
Setup a remote tracking branch using \fBremote_name\fR\. If \fBremote_name\fR is not supplied, use \fBorigin\fR by default\.
.
.P
<\-\-from [start_point]>
.
.P
Setup a start point when the branch created\. If \fB\-\-from\fR is not supplied, use the current branch by default\.
.
.P
<branchname>
.
.P
Expand Down
10 changes: 7 additions & 3 deletions man/git-create-branch.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions man/git-create-branch.md
Expand Up @@ -15,6 +15,10 @@ Creates local branch named &lt;branchname&gt; and optionally sets up a remote tr

Setup a remote tracking branch using `remote_name`. If `remote_name` is not supplied, use `origin` by default.

&lt;--from [start_point]&gt;

Setup a start point when the branch created. If `--from` is not supplied, use the current branch by default.

&lt;branchname&gt;

The name of the branch to create.
Expand Down
8 changes: 7 additions & 1 deletion man/git-feature.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-FEATURE" "1" "April 2020" "" "Git Extras"
.TH "GIT\-FEATURE" "1" "November 2020" "" "Git Extras"
.
.SH "NAME"
\fBgit\-feature\fR \- Create/Merge feature branch
Expand All @@ -28,6 +28,12 @@ use \fBbranch_prefix\fR instead of \fBfeature\fR
Setup a remote tracking branch using \fBremote_name\fR\. If \fBremote_name\fR is not supplied, use \fBorigin\fR by default\.
.
.P
<\-\-from [start_point]>
.
.P
Setup a start point when the branch created\. If \fB\-\-from\fR is not supplied, use the current branch by default\.
.
.P
<finish>
.
.P
Expand Down
12 changes: 8 additions & 4 deletions man/git-feature.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions man/git-feature.md
Expand Up @@ -20,6 +20,10 @@ git-feature(1) -- Create/Merge feature branch

Setup a remote tracking branch using `remote_name`. If `remote_name` is not supplied, use `origin` by default.

&lt;--from [start_point]&gt;

Setup a start point when the branch created. If `--from` is not supplied, use the current branch by default.

&lt;finish&gt;

Merge and delete the feature branch.
Expand Down

0 comments on commit b2b5c97

Please sign in to comment.