Skip to content

Commit aebfef8

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

File tree

6 files changed

+92
-84
lines changed

6 files changed

+92
-84
lines changed

Commands.md

Lines changed: 74 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,77 @@
11

2-
- [`git abort`](#git-abort)
3-
- [`git alias`](#git-alias)
4-
- [`git archive-file`](#git-archive-file)
5-
- [`git authors`](#git-authors)
6-
- [`git browse`](#git-browse)
7-
- [`git browse-ci`](#git-browse-ci)
8-
- [`git bulk`](#git-bulk)
9-
- [`git brv`](#git-brv)
10-
- [`git changelog`](#git-changelog)
11-
- [`git clear`](#git-clear)
12-
- [`git clear-soft`](#git-clear-soft)
13-
- [`git coauthor`](#git-coauthor)
14-
- [`git commits-since`](#git-commits-since)
15-
- [`git contrib`](#git-contrib)
16-
- [`git count`](#git-count)
17-
- [`git cp`](#git-cp)
18-
- [`git create-branch`](#git-create-branch)
19-
- [`git delete-branch`](#git-delete-branch)
20-
- [`git delete-merged-branches`](#git-delete-merged-branches)
21-
- [`git delete-squashed-branches`](#git-delete-squashed-branches)
22-
- [`git delete-submodule`](#git-delete-submodule)
23-
- [`git delete-tag`](#git-delete-tag)
24-
- [`git delta`](#git-delta)
25-
- [`git effort`](#git-effort)
26-
- [`git extras`](#git-extras)
27-
- [`git feature`](#git-feature)
28-
- [`git force-clone`](#git-force-clone)
29-
- [`git fork`](#git-fork)
30-
- [`git fresh-branch`](#git-fresh-branch)
31-
- [`git get`](#git-get)
32-
- [`git gh-pages`](#git-gh-pages)
33-
- [`git graft`](#git-graft)
34-
- [`git guilt`](#git-guilt)
35-
- [`git ignore`](#git-ignore)
36-
- [`git ignore-io`](#git-ignore-io)
37-
- [`git info`](#git-info)
38-
- [`git local-commits`](#git-local-commits)
39-
- [`git lock`](#git-lock)
40-
- [`git locked`](#git-locked)
41-
- [`git magic`](#git-magic)
42-
- [`git merge-into`](#git-merge-into)
43-
- [`git merge-repo`](#git-merge-repo)
44-
- [`git missing`](#git-missing)
45-
- [`git mr`](#git-mr)
46-
- [`git obliterate`](#git-obliterate)
47-
- [`git paste`](#git-paste)
48-
- [`git pr`](#git-pr)
49-
- [`git psykorebase`](#git-psykorebase)
50-
- [`git pull-request`](#git-pull-request)
51-
- [`git reauthor`](#git-reauthor)
52-
- [`git rebase-patch`](#git-rebase-patch)
53-
- [`git release`](#git-release)
54-
- [`git rename-branch`](#git-rename-branch)
55-
- [`git rename-tag`](#git-rename-tag)
56-
- [`git rename-remote`](#git-rename-remote)
57-
- [`git repl`](#git-repl)
58-
- [`git reset-file`](#git-reset-file)
59-
- [`git root`](#git-root)
60-
- [`git rscp`](#git-scp)
61-
- [`git scp`](#git-scp)
62-
- [`git sed`](#git-sed)
63-
- [`git setup`](#git-setup)
64-
- [`git show-merged-branches`](#git-show-merged-branches)
65-
- [`git show-tree`](#git-show-tree)
66-
- [`git show-unmerged-branches`](#git-show-unmerged-branches)
67-
- [`git stamp`](#git-stamp)
68-
- [`git squash`](#git-squash)
69-
- [`git standup`](#git-standup)
70-
- [`git summary`](#git-summary)
71-
- [`git sync`](#git-sync)
72-
- [`git touch`](#git-touch)
73-
- [`git undo`](#git-undo)
74-
- [`git unlock`](#git-unlock)
75-
- [`git utimes`](#git-utimes)
2+
- [`git abort`](#git-abort)
3+
- [`git alias`](#git-alias)
4+
- [`git archive-file`](#git-archive-file)
5+
- [`git authors`](#git-authors)
6+
- [`git browse`](#git-browse)
7+
- [`git browse-ci`](#git-browse-ci)
8+
- [`git bulk`](#git-bulk)
9+
- [`git brv`](#git-brv)
10+
- [`git changelog`](#git-changelog)
11+
- [`git clear`](#git-clear)
12+
- [`git clear-soft`](#git-clear-soft)
13+
- [`git coauthor`](#git-coauthor)
14+
- [`git commits-since`](#git-commits-since)
15+
- [`git contrib`](#git-contrib)
16+
- [`git count`](#git-count)
17+
- [`git cp`](#git-cp)
18+
- [`git create-branch`](#git-create-branch)
19+
- [`git delete-branch`](#git-delete-branch)
20+
- [`git delete-merged-branches`](#git-delete-merged-branches)
21+
- [`git delete-squashed-branches`](#git-delete-squashed-branches)
22+
- [`git delete-submodule`](#git-delete-submodule)
23+
- [`git delete-tag`](#git-delete-tag)
24+
- [`git delta`](#git-delta)
25+
- [`git effort`](#git-effort)
26+
- [`git extras`](#git-extras)
27+
- [`git feature`](#git-feature)
28+
- [`git force-clone`](#git-force-clone)
29+
- [`git fork`](#git-fork)
30+
- [`git fresh-branch`](#git-fresh-branch)
31+
- [`git gh-pages`](#git-gh-pages)
32+
- [`git graft`](#git-graft)
33+
- [`git guilt`](#git-guilt)
34+
- [`git ignore`](#git-ignore)
35+
- [`git ignore-io`](#git-ignore-io)
36+
- [`git info`](#git-info)
37+
- [`git local-commits`](#git-local-commits)
38+
- [`git lock`](#git-lock)
39+
- [`git locked`](#git-locked)
40+
- [`git magic`](#git-magic)
41+
- [`git merge-into`](#git-merge-into)
42+
- [`git merge-repo`](#git-merge-repo)
43+
- [`git missing`](#git-missing)
44+
- [`git mr`](#git-mr)
45+
- [`git obliterate`](#git-obliterate)
46+
- [`git paste`](#git-paste)
47+
- [`git pr`](#git-pr)
48+
- [`git psykorebase`](#git-psykorebase)
49+
- [`git pull-request`](#git-pull-request)
50+
- [`git reauthor`](#git-reauthor)
51+
- [`git rebase-patch`](#git-rebase-patch)
52+
- [`git release`](#git-release)
53+
- [`git rename-branch`](#git-rename-branch)
54+
- [`git rename-tag`](#git-rename-tag)
55+
- [`git rename-remote`](#git-rename-remote)
56+
- [`git repl`](#git-repl)
57+
- [`git reset-file`](#git-reset-file)
58+
- [`git root`](#git-root)
59+
- [`git rscp`](#git-scp)
60+
- [`git scp`](#git-scp)
61+
- [`git sed`](#git-sed)
62+
- [`git setup`](#git-setup)
63+
- [`git show-merged-branches`](#git-show-merged-branches)
64+
- [`git show-tree`](#git-show-tree)
65+
- [`git show-unmerged-branches`](#git-show-unmerged-branches)
66+
- [`git stamp`](#git-stamp)
67+
- [`git squash`](#git-squash)
68+
- [`git standup`](#git-standup)
69+
- [`git summary`](#git-summary)
70+
- [`git sync`](#git-sync)
71+
- [`git touch`](#git-touch)
72+
- [`git undo`](#git-undo)
73+
- [`git unlock`](#git-unlock)
74+
- [`git utimes`](#git-utimes)
7675

7776
## git extras
7877

@@ -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)