threads / discuss / 33777

[ITCH] push the HEAD I mean

Subject: [ITCH] push the HEAD I mean

## tl;dr

One message between May 10, 2013 and May 10, 2013.

replies: 0people: 1as markdown or json

Ramkumar Ramachandra· May 10, 2013, 19:58 UTC · lore
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

← back to recent threads