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

Re: Commit to other branch

From
Jeff King <peff@peff.net>
Date
May 31, 2010, 23:50 UTC
Message-ID
<20100531235016.GB13698@sigill.intra.peff.net>
In-Reply-To
<vpq8w70m3wf.fsf@bauges.imag.fr>
On Mon, May 31, 2010 at 06:28:48PM +0200, Matthieu Moy wrote:
Show 7 quoted lines
> Johannes Schneider <mailings@cedarsoft.com> writes:
> 
> > I tried to "git stash "
> > But then *all* changes are stashed (including my changes)...
> 
> Not completely answering the question, but "git stash -k"
> (--keep-index) allows you to do a selective stash. If you have

Also, recent versions of git have "git stash -p" to interactively stash just a few changes.

-Peff
Previous: Matthieu MoyNext: Jan Hudec
Message 3 of 4 in “Commit to other branch”
  1. Johannes SchneiderMay 31, 2010
  2. Matthieu MoyMay 31, 2010
  3. Jeff KingMay 31, 2010
  4. Jan HudecJun 6, 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.