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

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

 



On 02/07/2021 12:17, Felipe Contreras wrote:
Andreas Schwab wrote:
On Jul 02 2021, Felipe Contreras wrote:
+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


If I may jump into the discussion.

IMHO it would be good to (partly) follow other vcs, and have
commit = ci

but then keep
switch = sw

And leave co empty.

Reasons for co not used:
1) co would be CheckOut, and not switch. But checkout should be faded out and replaced by switch/restore 2) co is ambiguous, in the sense that people coming from other vcs expect checkout,    but people who started on git (especially who started with switch, instead of checkout) expect commit. 3) if co is not a default, then people can set it according to their own taste, with less confusion, than if they override a default.




[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