* Committing with one single option
[not found] <e773b01e-8fcf-8b8f-50d7-4b0f922895f7@gmail.com>
@ 2020-02-19 8:57 ` Alberto Salvia Novella
2020-02-19 9:11 ` Mateusz Loskot
0 siblings, 1 reply; 2+ messages in thread
From: Alberto Salvia Novella @ 2020-02-19 8:57 UTC (permalink / raw)
To: git
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, something like:
git set ${summary}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Committing with one single option
2020-02-19 8:57 ` Committing with one single option Alberto Salvia Novella
@ 2020-02-19 9:11 ` Mateusz Loskot
0 siblings, 0 replies; 2+ messages in thread
From: Mateusz Loskot @ 2020-02-19 9:11 UTC (permalink / raw)
To: git
On Wed, 19 Feb 2020 at 09:57, Alberto Salvia Novella
<es20490446e@gmail.com> wrote:
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-19 9:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <e773b01e-8fcf-8b8f-50d7-4b0f922895f7@gmail.com>
2020-02-19 8:57 ` Committing with one single option Alberto Salvia Novella
2020-02-19 9:11 ` Mateusz Loskot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).