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

Re: can't push refs/stash?

From
Jeff King <peff@peff.net>
Date
Feb 12, 2010, 01:10 UTC
Message-ID
<20100212011003.GB23303@coredump.intra.peff.net>
In-Reply-To
<20100212005632.GA3684@cthulhu>
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
Previous: Larry D'Anna
Message 2 of 2 in “can't push refs/stash?”
  1. Larry D'AnnaFeb 12, 2010
  2. Jeff KingFeb 12, 2010

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.