Re: [PATCH 5/5] config: add default aliases
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Jul 2, 2021, 10:17 UTC
- Message-ID
- <60dee7d4e27bf_2964b20817@natae.notmuch>
- In-Reply-To
- <871r8hauvi.fsf@igel.home>
Andreas Schwab wrote:
Show 15 quoted lines
> 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