From: martin Date: Fri, 02 Jul 2021 21:40:25 GMT Subject: Re: [PATCH 5/5] config: add default aliases Message-ID: <74124ed2-2905-a167-90b6-9b289521ea83@mfriebe.de> In-Reply-To: <60df7ee3128d6_28bb2086c@natae.notmuch> On 02/07/2021 23:02, Felipe Contreras wrote: > >> If I was a committer on this project, I would have to be much more >> convinced that there is long-term value in this series than appears on >> the surface. > 1. It doesn't affect anyone negatively > 2. You don't have to use them if you don't want to > 3. They don't affect your aliases, even if they have the same name > 4. Everyone has aliases > 5. Every SCM in history has had aliases > > What more would you need? > Well, it might be good if they were configurable. core.built-in-alias=false core.built-in-alias=true core.built-in-alias=sw,rs  # switch,restore Also, it can be debated if they should be on or off by default. (hence built-in) If the setting is undefined, then if a user does    git sw branch It will print: built in aliases are not enabled. Please run   git config core.built-in-alias=true That way no one is forced to anything, but they are easy to enable, and self advertising.