From: Junio C Hamano <gitster@pobox.com>
To: Jasdeep Khalsa <jasdeepkhalsa1@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Adding new/create & del/delete aliases into git
Date: Thu, 16 Dec 2021 16:57:58 -0800 [thread overview]
Message-ID: <xmqqmtl059pl.fsf@gitster.g> (raw)
In-Reply-To: <CALtRjJ3bu1ub=407kt-aemfV6BU8CfPZJxLRG5WgTZBYWbaXCQ@mail.gmail.com> (Jasdeep Khalsa's message of "Thu, 16 Dec 2021 13:29:15 +0000")
Jasdeep Khalsa <jasdeepkhalsa1@gmail.com> writes:
> I've been using the following aliases for a long time:
>
> del or delete = branch -D
> new or create = checkout -b
>
> And I feel these are good candidates as an addition into the core git
> API as they provide an easy way for new starters to understand the
> creating and deleting of branches - which is arguably one of the most
> common git operations.
He wants to see his "create" to create and "delete" to delete a
worktree, not a branch. And she wants to see her "create" to create
and "delete" to delete a repository, not a branch.
Not everybody shares your "feel that these are common".
Aliases and synonyms are so personal and it is better to make sure
that we do not define more than necessary at the public level.
Otherwise we will end up squatting on more good names that people
may want to use for their own aliases.
prev parent reply other threads:[~2021-12-17 0:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-16 13:29 Adding new/create & del/delete aliases into git Jasdeep Khalsa
2021-12-16 23:43 ` Ævar Arnfjörð Bjarmason
2021-12-17 0:57 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqmtl059pl.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=jasdeepkhalsa1@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).