EnglishFrenchSpanish

Ad


OnWorks favicon

git-alias - Online in the Cloud

Run git-alias in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command git-alias that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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>

Use git-alias online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad