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

Re: [PATCH 2/2] push: add '-d' as shorthand for '--delete'

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 14, 2015, 19:18 UTC
Message-ID
<xmqqegeokfet.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1450106584-22313-2-git-send-email-ps@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
> It is only possible to delete branches on remotes by specifying
> the long '--delete' flag.

Not really. "git push origin :unnecessary-branch" should just work with out "--delete" or "-d".

Previous: Patrick SteinhardtNext: Patrick Steinhardt
Message 3 of 7 in “push: add '--delete' flag to synopsis”
  1. 1/2 push: add '--delete' flag to synopsisPatrick Steinhardt, Dec 14, 2015
  2. 2/2 push: add '-d' as shorthand for '--delete'Patrick Steinhardt, Dec 14, 2015
  3. Junio C HamanoDec 14, 2015
  4. Patrick SteinhardtDec 15, 2015
  5. Jeff KingDec 14, 2015
  6. Junio C HamanoDec 16, 2015
  7. Jeff KingDec 16, 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.