threads / discuss / 6949

abbreviated commands

Subject: abbreviated commands

## tl;dr

2 messages between Feb 25, 2007 and Feb 25, 2007.

replies: 1people: 2as markdown or json

Jeff Rose· Feb 25, 2007, 17:43 UTC · lore

Has there been discussion of adding abbreviated command names to git? It would be nice to be able to type the standard abbreviations used by many vcs, for example:

ci -> commit co -> checkout

I searched the mailing list archives but didn't see anything so I 
figured I'd ask.  It would be nice.  Also allowing the shortest uniquely 
  matching command string rather than having to type the whole thing 
would be nice.  (I know, if you do git-foo<tab> it would be the same 
thing, but if the goal is to have git <command> be the standard usage 
these things would be great.)
Thanks for the great system.
-Jeff
Johannes Schindelin· Feb 25, 2007, 17:47 UTC · re: Jeff Rose · lore

Re: abbreviated commands

Hi,
On Sun, 25 Feb 2007, Jeff Rose wrote:
Show 6 quoted lines
> Has there been discussion of adding abbreviated command names to git? It
> would be nice to be able to type the standard abbreviations used by many vcs,
> for example:
> 
> ci -> commit
> co -> checkout

$ git config --global alias.ci commit $ git config --global alias.co checkout

Fixed!

Hth, Dscho

← back to recent threads