Skip to content

Commit 2493f99

Browse files
committed
improve git-get description
1 parent 2e88438 commit 2493f99

File tree

6 files changed

+19
-11
lines changed

6 files changed

+19
-11
lines changed

Commands.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
- [`git force-clone`](#git-force-clone)
2929
- [`git fork`](#git-fork)
3030
- [`git fresh-branch`](#git-fresh-branch)
31-
- [`git get`](#git-get)
3231
- [`git gh-pages`](#git-gh-pages)
3332
- [`git graft`](#git-graft)
3433
- [`git guilt`](#git-guilt)
@@ -892,7 +891,7 @@ $ git fresh-branch docs
892891
893892
## git get
894893
895-
Clone repository into `"$HOME/some-dir/<repository_name>"`:
894+
Clone repository into a subdirectory of the configured path, `"$HOME/some-dir"`:
896895
897896
```bash
898897
$ git config --add git-extras.get.clone-path "$HOME/some-dir"

man/git-extras.1

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" generated with Ronn-NG/v0.9.1
22
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
3-
.TH "GIT\-EXTRAS" "1" "December 2021" "" "Git Extras"
3+
.TH "GIT\-EXTRAS" "1" "May 2023" "" "Git Extras"
44
.SH "NAME"
55
\fBgit\-extras\fR \- Awesome GIT utilities
66
.SH "SYNOPSIS"
@@ -20,7 +20,7 @@ Self update\.
2020
.SH "ENVIRONMENT AND CONFIGURATION VARIABLES"
2121
\fBgit config \-\-add git\-extras\.default\-branch $BRANCH\fR
2222
.P
23-
Change the default branch to \fB$BRANCH\fR\. If \fBgit\-extras\.default\-branch\fR isn\'t set, \fBinit\.defaultBranch\fR is used instead\. If none of them are set it defaults to \fBmain\fR\.
23+
Change the default branch to \fB$BRANCH\fR\. If \fBgit\-extras\.default\-branch\fR isn't set, \fBinit\.defaultBranch\fR is used instead\. If none of them are set it defaults to \fBmain\fR\.
2424
.SH "COMMANDS"
2525
.IP "\[ci]" 4
2626
\fBgit\-abort(1)\fR Abort current git operation
@@ -31,6 +31,8 @@ Change the default branch to \fB$BRANCH\fR\. If \fBgit\-extras\.default\-branch\
3131
.IP "\[ci]" 4
3232
\fBgit\-authors(1)\fR Generate authors report
3333
.IP "\[ci]" 4
34+
\fBgit\-browse\-ci(1)\fR \fIView the web page for the current repository\fR
35+
.IP "\[ci]" 4
3436
\fBgit\-browse(1)\fR \fIView the web page for the current repository\fR
3537
.IP "\[ci]" 4
3638
\fBgit\-brv(1)\fR List branches sorted by their last commit date
@@ -47,7 +49,7 @@ Change the default branch to \fB$BRANCH\fR\. If \fBgit\-extras\.default\-branch\
4749
.IP "\[ci]" 4
4850
\fBgit\-commits\-since(1)\fR Show commit logs since some date
4951
.IP "\[ci]" 4
50-
\fBgit\-contrib(1)\fR Show user\'s contributions
52+
\fBgit\-contrib(1)\fR Show user's contributions
5153
.IP "\[ci]" 4
5254
\fBgit\-count(1)\fR Show commit count
5355
.IP "\[ci]" 4
@@ -77,6 +79,8 @@ Change the default branch to \fB$BRANCH\fR\. If \fBgit\-extras\.default\-branch\
7779
.IP "\[ci]" 4
7880
\fBgit\-fresh\-branch(1)\fR Create fresh branches
7981
.IP "\[ci]" 4
82+
\fBgit\-get(1)\fR Clone a Git repository under a configured directory
83+
.IP "\[ci]" 4
8084
\fBgit\-gh\-pages(1)\fR Create the GitHub Pages branch
8185
.IP "\[ci]" 4
8286
\fBgit\-graft(1)\fR Merge and destroy a given branch
@@ -115,7 +119,7 @@ Change the default branch to \fB$BRANCH\fR\. If \fBgit\-extras\.default\-branch\
115119
.IP "\[ci]" 4
116120
\fBgit\-pull\-request(1)\fR Create pull request for GitHub project
117121
.IP "\[ci]" 4
118-
\fBgit\-reauthor(1)\fR Rewrite history to change author\'s identity
122+
\fBgit\-reauthor(1)\fR Rewrite history to change author's identity
119123
.IP "\[ci]" 4
120124
\fBgit\-rebase\-patch(1)\fR Rebases a patch
121125
.IP "\[ci]" 4
@@ -145,7 +149,7 @@ Change the default branch to \fB$BRANCH\fR\. If \fBgit\-extras\.default\-branch\
145149
.IP "\[ci]" 4
146150
\fBgit\-show\-unmerged\-branches(1)\fR Show unmerged branches
147151
.IP "\[ci]" 4
148-
\fBgit\-squash(1)\fR squash N last changes up to a ref\'ed commit
152+
\fBgit\-squash(1)\fR squash N last changes up to a ref'ed commit
149153
.IP "\[ci]" 4
150154
\fBgit\-stamp(1)\fR Stamp the last commit message
151155
.IP "\[ci]" 4

man/git-extras.html

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/git-extras.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ git-extras(1) -- Awesome GIT utilities
5555
- **git-force-clone(1)** overwrite local repositories with clone
5656
- **git-fork(1)** Fork a repo on github
5757
- **git-fresh-branch(1)** Create fresh branches
58-
- **git-get(1)** Clone a Git repository under a directory
58+
- **git-get(1)** Clone a Git repository under a configured directory
5959
- **git-gh-pages(1)** Create the GitHub Pages branch
6060
- **git-graft(1)** Merge and destroy a given branch
6161
- **git-guilt(1)** calculate change between two revisions

man/git-get.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
git-get(1) -- Clone a Git repository under a directory
1+
git-get(1) -- Clone a Git repository under a configured directory
22
=================================================
33

44
## SYNOPSIS

not_need_git_repo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ git-bulk
55
git-extras
66
git-force-clone
77
git-fork
8+
git-get
89
git-setup
910
git-standup
10-
git-get

0 commit comments

Comments
 (0)