mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
correct the '-m' argument for grep. Then regenralize git-extra
'-m' option is supported both in GNU grep and in BSD grep GNU grep: <http://linux.die.net/man/1/grep> BSD grep: <https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/grep.1.html>
This commit is contained in:
parent
76e0dfef97
commit
0a3bc99d9a
|
|
@ -33,6 +33,9 @@ Self update\.
|
|||
\fBgit\-alias(1)\fR Define, search and show aliases
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-archive\-file(1)\fR Export the current HEAD of the git repository to a archive
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-back(1)\fR Undo and Stage latest commits
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
|
|
@ -72,6 +75,9 @@ Self update\.
|
|||
\fBgit\-feature(1)\fR Create feature branch
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-fork(1)\fR Fork a repo on github
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-fresh\-branch(1)\fR Create fresh branches
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
|
|
@ -90,6 +96,21 @@ Self update\.
|
|||
\fBgit\-local\-commits(1)\fR List local commits
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-locked(1)\fR ls files that have been locked
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-lock(1)\fR Lock a file excluded from version control
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-missing(1)\fR Show commits missing from another branch
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-pr(1)\fR Checks out a pull request locally
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-rebase\-patch(1)\fR Rebases a patch
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-refactor(1)\fR Create refactor branch
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
|
|
@ -102,13 +123,16 @@ Self update\.
|
|||
\fBgit\-repl(1)\fR git read\-eval\-print\-loop
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-reset\-file(1)\fR Reset one file
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-setup(1)\fR Set up a git repository
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-show\-tree(1)\fR show branch tree of commit history
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-squash(1)\fR Import changes form a branch
|
||||
\fBgit\-squash(1)\fR Import changes from a branch
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-summary(1)\fR Show repository summary
|
||||
|
|
@ -119,6 +143,9 @@ Self update\.
|
|||
.IP "\(bu" 4
|
||||
\fBgit\-undo(1)\fR Remove latest commits
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-unlock(1)\fR Unlock a file excluded from version control
|
||||
.
|
||||
.IP "" 0
|
||||
.
|
||||
.SH "AUTHOR"
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@
|
|||
|
||||
<ul>
|
||||
<li> <strong><a class="man-ref" href="git-alias.html">git-alias<span class="s">(1)</span></a></strong> Define, search and show aliases</li>
|
||||
<li> <strong><a class="man-ref" href="git-archive-file.html">git-archive-file<span class="s">(1)</span></a></strong> Export the current HEAD of the git repository to a archive</li>
|
||||
<li> <strong><a class="man-ref" href="git-back.html">git-back<span class="s">(1)</span></a></strong> Undo and Stage latest commits</li>
|
||||
<li> <strong><a class="man-ref" href="git-bug.html">git-bug<span class="s">(1)</span></a></strong> Create bug branch</li>
|
||||
<li> <strong><a class="man-ref" href="git-changelog.html">git-changelog<span class="s">(1)</span></a></strong> Generate the changelog report</li>
|
||||
|
|
@ -108,28 +109,36 @@
|
|||
<li> <strong><a class="man-ref" href="git-delete-tag.html">git-delete-tag<span class="s">(1)</span></a></strong> Delete tags</li>
|
||||
<li> <strong><a class="man-ref" href="git-effort.html">git-effort<span class="s">(1)</span></a></strong> Show effort statistics on file(s)</li>
|
||||
<li> <strong><a class="man-ref" href="git-feature.html">git-feature<span class="s">(1)</span></a></strong> Create feature branch</li>
|
||||
<li> <strong><a class="man-ref" href="git-fork.html">git-fork<span class="s">(1)</span></a></strong> Fork a repo on github</li>
|
||||
<li> <strong><a class="man-ref" href="git-fresh-branch.html">git-fresh-branch<span class="s">(1)</span></a></strong> Create fresh branches</li>
|
||||
<li> <strong><a class="man-ref" href="git-gh-pages.html">git-gh-pages<span class="s">(1)</span></a></strong> Create the GitHub Pages branch</li>
|
||||
<li> <strong><a class="man-ref" href="git-graft.html">git-graft<span class="s">(1)</span></a></strong> Merge and destroy a given branch</li>
|
||||
<li> <strong><a class="man-ref" href="git-ignore.html">git-ignore<span class="s">(1)</span></a></strong> Add .gitignore patterns</li>
|
||||
<li> <strong><a class="man-ref" href="git-info.html">git-info<span class="s">(1)</span></a></strong> Returns information on current repository</li>
|
||||
<li> <strong><a class="man-ref" href="git-local-commits.html">git-local-commits<span class="s">(1)</span></a></strong> List local commits</li>
|
||||
<li> <strong><a class="man-ref" href="git-locked.html">git-locked<span class="s">(1)</span></a></strong> ls files that have been locked</li>
|
||||
<li> <strong><a class="man-ref" href="git-lock.html">git-lock<span class="s">(1)</span></a></strong> Lock a file excluded from version control</li>
|
||||
<li> <strong><a class="man-ref" href="git-missing.html">git-missing<span class="s">(1)</span></a></strong> Show commits missing from another branch</li>
|
||||
<li> <strong><a class="man-ref" href="git-pr.html">git-pr<span class="s">(1)</span></a></strong> Checks out a pull request locally</li>
|
||||
<li> <strong><a class="man-ref" href="git-rebase-patch.html">git-rebase-patch<span class="s">(1)</span></a></strong> Rebases a patch</li>
|
||||
<li> <strong><a class="man-ref" href="git-refactor.html">git-refactor<span class="s">(1)</span></a></strong> Create refactor branch</li>
|
||||
<li> <strong><a class="man-ref" href="git-release.html">git-release<span class="s">(1)</span></a></strong> Commit, tag and push changes to the repository</li>
|
||||
<li> <strong><a class="man-ref" href="git-rename-tag.html">git-rename-tag<span class="s">(1)</span></a></strong> Rename a tag</li>
|
||||
<li> <strong><a class="man-ref" href="git-repl.html">git-repl<span class="s">(1)</span></a></strong> git read-eval-print-loop</li>
|
||||
<li> <strong><a class="man-ref" href="git-reset-file.html">git-reset-file<span class="s">(1)</span></a></strong> Reset one file</li>
|
||||
<li> <strong><a class="man-ref" href="git-setup.html">git-setup<span class="s">(1)</span></a></strong> Set up a git repository</li>
|
||||
<li> <strong><a class="man-ref" href="git-show-tree.html">git-show-tree<span class="s">(1)</span></a></strong> show branch tree of commit history</li>
|
||||
<li> <strong><a class="man-ref" href="git-squash.html">git-squash<span class="s">(1)</span></a></strong> Import changes form a branch</li>
|
||||
<li> <strong><a class="man-ref" href="git-squash.html">git-squash<span class="s">(1)</span></a></strong> Import changes from a branch</li>
|
||||
<li> <strong><a class="man-ref" href="git-summary.html">git-summary<span class="s">(1)</span></a></strong> Show repository summary</li>
|
||||
<li> <strong><a class="man-ref" href="git-touch.html">git-touch<span class="s">(1)</span></a></strong> Touch and add file to the index</li>
|
||||
<li> <strong><a class="man-ref" href="git-undo.html">git-undo<span class="s">(1)</span></a></strong> Remove latest commits</li>
|
||||
<li> <strong><a class="man-ref" href="git-unlock.html">git-unlock<span class="s">(1)</span></a></strong> Unlock a file excluded from version control</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Tj Holowaychuk <<a href="mailto:tj@vision-media.ca" data-bare-link="true">tj@vision-media.ca</a>></p>
|
||||
<p>Written by Tj Holowaychuk <<a href="mailto:tj@vision-media.ca" data-bare-link="true">tj@vision-media.ca</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ git-extras(1) -- Awesome GIT utilities
|
|||
## COMMANDS
|
||||
|
||||
- **git-alias(1)** Define, search and show aliases
|
||||
- **git-archive-file(1)** Export the current HEAD of the git repository to a archive
|
||||
- **git-back(1)** Undo and Stage latest commits
|
||||
- **git-bug(1)** Create bug branch
|
||||
- **git-changelog(1)** Generate the changelog report
|
||||
|
|
@ -35,22 +36,30 @@ git-extras(1) -- Awesome GIT utilities
|
|||
- **git-delete-tag(1)** Delete tags
|
||||
- **git-effort(1)** Show effort statistics on file(s)
|
||||
- **git-feature(1)** Create feature branch
|
||||
- **git-fork(1)** Fork a repo on github
|
||||
- **git-fresh-branch(1)** Create fresh branches
|
||||
- **git-gh-pages(1)** Create the GitHub Pages branch
|
||||
- **git-graft(1)** Merge and destroy a given branch
|
||||
- **git-ignore(1)** Add .gitignore patterns
|
||||
- **git-info(1)** Returns information on current repository
|
||||
- **git-local-commits(1)** List local commits
|
||||
- **git-locked(1)** ls files that have been locked
|
||||
- **git-lock(1)** Lock a file excluded from version control
|
||||
- **git-missing(1)** Show commits missing from another branch
|
||||
- **git-pr(1)** Checks out a pull request locally
|
||||
- **git-rebase-patch(1)** Rebases a patch
|
||||
- **git-refactor(1)** Create refactor branch
|
||||
- **git-release(1)** Commit, tag and push changes to the repository
|
||||
- **git-rename-tag(1)** Rename a tag
|
||||
- **git-repl(1)** git read-eval-print-loop
|
||||
- **git-reset-file(1)** Reset one file
|
||||
- **git-setup(1)** Set up a git repository
|
||||
- **git-show-tree(1)** show branch tree of commit history
|
||||
- **git-squash(1)** Import changes form a branch
|
||||
- **git-squash(1)** Import changes from a branch
|
||||
- **git-summary(1)** Show repository summary
|
||||
- **git-touch(1)** Touch and add file to the index
|
||||
- **git-undo(1)** Remove latest commits
|
||||
- **git-unlock(1)** Unlock a file excluded from version control
|
||||
|
||||
## AUTHOR
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ for file in $(ls git*.md); do
|
|||
extra=${file/.md/}
|
||||
spaced=" "
|
||||
echo "$extra(1)${spaced:${#extra}}$extra" >> index.txt.tmp;
|
||||
title=$(grep -m=1 $extra"(1) -- " $file)
|
||||
title=$(grep -m 1 $extra"(1) -- " $file)
|
||||
test "$extra" != "git-extras" && echo " - **"${title/" --"/"**"} >> git-extras.md.tmp
|
||||
done
|
||||
ln=$(awk '/## AUTHOR/{print NR};' ./git-extras.md)
|
||||
|
|
|
|||
Loading…
Reference in a new issue