GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GIT-ALIAS(1) Git Extras GIT-ALIAS(1)

git-alias - Define, search and show aliases

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

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

<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.

Defining a new alias:
$ git alias last "cat-file commit HEAD"
    

Providing only one argument, git-alias searches 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>
    

Written by Jonhnny Weslley <jw@jonhnnyweslley.net>

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

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

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.