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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux