threads / discuss / 22621

can't push refs/stash?

Subject: can't push refs/stash?

## tl;dr

2 messages between Feb 12, 2010 and Feb 12, 2010.

replies: 1people: 2as markdown or json

Jeff King· Feb 12, 2010, 01:10 UTC · re: Larry D'Anna · lore

Re: can't push refs/stash?

On Thu, Feb 11, 2010 at 07:56:32PM -0500, Larry D'Anna wrote:
> If i try to push to refs/stash i get remote rejected (funny refname).  Is this
> the intended behavior?

Yes. The stash ref itself isn't all that useful. The list of stashes is actually in the reflog, which is not pushable. And that is also intentional; stashes were really meant to be short-term. If you want something longer term that can be pushed, make a branch.

-Peff

← back to recent threads