Subject: Re: [PATCH 5/5] config: add default aliases

From: Felipe Contreras <[email-masked]>
Date: Fri, 02 Jul 2021 05:17:56 -0500

Andreas Schwab wrote:
> On Jul 02 2021, Felipe Contreras wrote:
> 
> > diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
> > index 340c5fbb48..32b1fdba45 100644
> > --- a/Documentation/git-commit.txt
> > +++ b/Documentation/git-commit.txt
> > @@ -17,6 +17,10 @@ SYNOPSIS
> >  	   [(--trailer <token>[(=|:)<value>])...] [-S[<keyid>]]
> >  	   [--] [<pathspec>...]
> >  
> > +ALIAS
> > +~~~~~
> > +'git co'
> 
> That's `checkout' in hg, bzr, svn and cvs.

I know, and commit is ci in many of them.

The reason why I decided to make checkout co, is that we have already an
alternative for checkout: switch. So unlike all those other VCS, in git
we can have:

  co = commit
  sw = switch

Of course we would need to make switch actually usable, but that's a
seprate task.

-- 
Felipe Contreras