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

[completion] Request: Include remote heads as push targets

From
Marc Branchaud <marcnarc@xiplink.com>
Date
Oct 21, 2010, 15:37 UTC
Message-ID
<4CC05E4B.1010106@xiplink.com>
Hi Shawn,
I find myself wishing that completion would support the following:
	git push origin HEAD:<tab>

The options presented at this point should include all the origin/* heads, without the "origin/" prefix. Right now (git 1.7.3.1) completion only lets me choose from local refs.

I tried looking at the completion script myself, but my completion-fu is weak and I'm really not sure how to go about implementing this.

So I'm just throwing this request out to see what happens.
Thanks!
		M.
Next: Marc Branchaud
Message 1 of 10 in “[completion] Request: Include remote heads as push targets”
  1. Marc BranchaudOct 21, 2010
  2. Marc BranchaudOct 21, 2010
  3. Jonathan NiederOct 21, 2010
  4. Peter van der DoesOct 22, 2010
  5. Kevin BallardOct 22, 2010
  6. Marc BranchaudOct 22, 2010
  7. SZEDER GáborOct 23, 2010
  8. Peter van der DoesOct 24, 2010
  9. SZEDER GáborOct 24, 2010
  10. Peter van der DoesOct 24, 2010

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.