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

Re: git push bug?

From
Steffen Prohaska <prohaska@zib.de>
Date
Oct 18, 2007, 16:55 UTC
Message-ID
<9EEDF284-22BE-44BF-A9B8-116407784BEB@zib.de>
In-Reply-To
<Pine.LNX.4.64.0710181720010.25221@racer.site>
On Oct 18, 2007, at 6:21 PM, Johannes Schindelin wrote:
Show 13 quoted lines
> On Thu, 18 Oct 2007, Joakim Tjernlund wrote:
>
>> Seems like it is a bit too easy to make mistakes here. Why can I  
>> delete
>> a branch with :linus but not create one with linus:linus?
>
> I wonder why you bother with the colon at all.  Just
>
> 	git push <remote> linus
>
> and be done with it.  The colon is only there to play interesting  
> games,
> not something as simple as "push this branch" or "push this tag".

But you need a full refspec starting with 'refs/heads/' if you want to create a new branch on the remote side.

	Steffen
Previous: Jan HudecNext: Johannes Schindelin
Message 15 of 21 in “git push bug?”
  1. Joakim TjernlundOct 18, 2007
  2. Steffen ProhaskaOct 18, 2007
  3. Joakim TjernlundOct 18, 2007
  4. Joakim TjernlundOct 18, 2007
  5. Shawn O. PearceOct 19, 2007
  6. Steffen ProhaskaOct 18, 2007
  7. Johannes SchindelinOct 18, 2007
  8. Joakim TjernlundOct 18, 2007
  9. Johannes SchindelinOct 18, 2007
  10. Joakim TjernlundOct 19, 2007
  11. Johannes SchindelinOct 19, 2007
  12. Joakim TjernlundOct 19, 2007
  13. Johannes SchindelinOct 19, 2007
  14. Jan HudecOct 20, 2007
  15. Steffen ProhaskaOct 18, 2007
  16. Johannes SchindelinOct 18, 2007
  17. Steffen ProhaskaOct 20, 2007
  18. Steffen ProhaskaOct 20, 2007
  19. Joakim TjernlundOct 20, 2007
  20. Shawn O. PearceOct 19, 2007
  21. Joakim TjernlundOct 20, 2007

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.