From 98593961311553a6136b4e4309e8df33f80963a2 Mon Sep 17 00:00:00 2001 From: spacewander Date: Sun, 9 Aug 2015 19:33:13 +0800 Subject: [PATCH] change 'search-term' to 'search-pattern' --- man/git-alias.1 | 6 +- man/git-alias.1.html | 145 +++++++++++++++++++++++++++++++++++++++++++ man/git-alias.md | 4 +- 3 files changed, 150 insertions(+), 5 deletions(-) create mode 100644 man/git-alias.1.html diff --git a/man/git-alias.1 b/man/git-alias.1 index 764aadd..d009922 100644 --- a/man/git-alias.1 +++ b/man/git-alias.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "GIT\-ALIAS" "1" "August 2015" "" "Git Extras" +.TH "GIT\-ALIAS" "1" "August 2015" "" "" . .SH "NAME" \fBgit\-alias\fR \- Define, search and show aliases @@ -10,7 +10,7 @@ \fBgit\-alias\fR . .br -\fBgit\-alias\fR +\fBgit\-alias\fR . .br \fBgit\-alias\fR @@ -19,7 +19,7 @@ List all aliases, show one alias, or set one (global) alias\. . .SH "OPTIONS" - + . .P The pattern used to search aliases\. diff --git a/man/git-alias.1.html b/man/git-alias.1.html new file mode 100644 index 0000000..384b4e9 --- /dev/null +++ b/man/git-alias.1.html @@ -0,0 +1,145 @@ + + + + + + git-alias(1) - Define, search and show aliases + + + + +
+ + + +
    +
  1. git-alias(1)
  2. +
  3. +
  4. git-alias(1)
  5. +
+ +

NAME

+

+ git-alias - Define, search and show aliases +

+ +

SYNOPSIS

+ +

git-alias
+git-alias <search-pattern>
+git-alias <alias-name> <command>

+ +

DESCRIPTION

+ +

List all aliases, show one alias, or set one (global) alias.

+ +

OPTIONS

+ +

<search-pattern>

+ +

The pattern used to search aliases.

+ +

<alias-name>

+ +

The name of the alias to create.

+ +

<command>

+ +

The command for which you are creating an alias.

+ +

EXAMPLES

+ +

Defining a new alias:

+ +
$ git alias last "cat-file commit HEAD"
+
+ +

Providing only one argument, git-alias searchs for aliases matching the given value:

+ +
$ git alias ^la
+last = cat-file commit HEAD
+
+ +

git-alias will show all aliases if no argument is given:

+ +
$ git alias
+s = status
+amend = commit --amend
+rank = shortlog -sn --no-merges
+whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
+whois = !sh -c 'git log -i -1 --pretty="format:%an <%ae>
+
+ +

AUTHOR

+ +

Written by Jonhnny Weslley <jw@jonhnnyweslley.net>

+ +

REPORTING BUGS

+ +

<https://github.com/tj/git-extras/issues>

+ +

SEE ALSO

+ +

<https://github.com/tj/git-extras>

+ + +
    +
  1. +
  2. August 2015
  3. +
  4. git-alias(1)
  5. +
+ +
+ + diff --git a/man/git-alias.md b/man/git-alias.md index 82bf435..054ef1f 100644 --- a/man/git-alias.md +++ b/man/git-alias.md @@ -4,7 +4,7 @@ git-alias(1) -- Define, search and show aliases ## SYNOPSIS `git-alias` -`git-alias` <search-term> +`git-alias` <search-pattern> `git-alias` <alias-name> <command> ## DESCRIPTION @@ -13,7 +13,7 @@ git-alias(1) -- Define, search and show aliases ## OPTIONS - <search-term> + <search-pattern> The pattern used to search aliases.