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

[ITCH] push the HEAD I mean

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
May 10, 2013, 19:58 UTC
Message-ID
<CALkWK0k5t9D2F_6d3A5pyUirDp=U=U6HwwfStiS7HPJVUvE0_g@mail.gmail.com>
Hi,
My push.default is current.  I often end up doing:
    # on master
    $ git push
    ....
    # switch to another terminal
    $ git checkout rebase.autostash
    $ git rebase master
    # go back to previous terminal
    # push has failed
This happens because push tries to push rebase.autostash instead.
Should push make a copy of the HEAD ref when invoked, and use that?
Ram
Message 1 of 1 in “[ITCH] push the HEAD I mean”
  1. Ramkumar RamachandraMay 10, 2013

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.