git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Allow git alias to override existing Git commands

From
Stefan Beller <sbeller@google.com>
Date
Nov 11, 2015, 17:42 UTC
Message-ID
<CAGZ79kZcgHknvZ03+T++1o3d2_YMo4+FCNkOMuG13qsHJp8V0Q@mail.gmail.com>
In-Reply-To
<56430A27.2030604@game-point.net>
On Wed, Nov 11, 2015 at 1:28 AM, Jeremy Morton <admin@game-point.net> wrote:
Show 18 quoted lines
> On 11/11/2015 04:48, Sitaram Chamarty wrote:
>>
>> A lot of things in Unix do follow that "give you rope to hang yourself"
>> philosophy.  I used to (and to *some* extent still do) think like that,
>> but some years of supporting normal users trying to do stuff has taught
>> me it's not always that simple.
>>
>> I can easily see someone blogging some cool way to do something, and a
>> less savvy user uses that in his gitconfig, and gets burned later
>> (possibly much later, enough that he does not easily make the
>> connection!)
>
>
> We're not talking about "normal users" here, that's what Google Chrome is
> for.  We're talking about Git users using the commandline client. They ought
> to know what they're doing and if they don't, they're screwed anyway because
> there are quite a few gotchas with Git.
>

Just because you're an expert, doesn't mean you don't appreciate working without safety net.

There are tons of people out there, who use Git for $REASONS (their boss told them so, it's cooler than $OTHERVCS, the project uses Git), without having the time to take a deep dive into Git. "It should just work".

So I haven't tried Sitaram's script, but it looks like it can get your job done?
Previous: Sitaram ChamartyNext: Jens Lehmann
Message 10 of 13 in “Allow git alias to override existing Git commands”
  1. Jeremy MortonNov 10, 2015
  2. Stefan BellerNov 10, 2015
  3. Jeremy MortonNov 10, 2015
  4. Stefan BellerNov 10, 2015
  5. Sitaram ChamartyNov 11, 2015
  6. Jeremy MortonNov 11, 2015
  7. Sitaram ChamartyNov 11, 2015
  8. Jeremy MortonNov 11, 2015
  9. Sitaram ChamartyNov 11, 2015
  10. Stefan BellerNov 11, 2015
  11. Jens LehmannNov 10, 2015
  12. Stefan BellerNov 10, 2015
  13. Jens LehmannNov 11, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.