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

Re: Committing with one single option

From
Mateusz Loskot <mateusz@loskot.net>
Date
Feb 19, 2020, 09:11 UTC
Message-ID
<CABUeae-hC+Q_giRDpOmSQJP0Ty9iWQwGVC3kb7FqMdUeGA2AcQ@mail.gmail.com>
In-Reply-To
<547b53e1-f3e1-5f12-5ffc-f35b95e25867@gmail.com>

On Wed, 19 Feb 2020 at 09:57, Alberto Salvia Novella <es20490446e@gmail.com> wrote:

Show 6 quoted lines
>
> Doing:
> git add --all; git commit -m ${summary}; git push
>
> is so common that it would likely benefit from being composed into a
> single option,
That's what aliases are for, no?
http://blog.vogella.com/2010/12/25/git-alias-add-commit/
> something like:
> git set ${summary}
IMO, set makes an unclear and ambiguous name.
Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Previous: Alberto Salvia Novella
Message 2 of 2 in “Committing with one single option”
  1. Alberto Salvia NovellaFeb 19, 2020
  2. Mateusz LoskotFeb 19, 2020

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.