# [ITCH] push the HEAD I mean

1 messages from 2013-05-10 to 2013-05-10. Participants: Ramkumar Ramachandra.
Thread: https://gitlist.dev/t/33777

## Ramkumar Ramachandra, 2013-05-10 19:58

Subject: [ITCH] push the HEAD I mean
Message-ID: <CALkWK0k5t9D2F_6d3A5pyUirDp=U=U6HwwfStiS7HPJVUvE0_g@mail.gmail.com>
URL: https://gitlist.dev/e/CALkWK0k5t9D2F_6d3A5pyUirDp%3DU%3DU6HwwfStiS7HPJVUvE0_g%40mail.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

```
