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

Re: How can I do an automatic stash when doing a checkout?

From
HHHolger Hellmuth <hellmuth@ira.uka.de>
Date
Dec 19, 2011, 17:24 UTC
Message-ID
<4EEF736A.4070802@ira.uka.de>
In-Reply-To
<jckvpk$i8v$1@dough.gmane.org>
On 18.12.2011 16:10, DeMarcus wrote:
Show 6 quoted lines
>> You probably don't want to use stash. Just commit whatever partial work
>> you've done.
>>
>
> It feels strange doing a commit of partial work. Some of the files may
> not even be supposed to be checked in.

You have heard of "git commit --amend" ? Makes partial commits really easy to work with.

Previous: DeMarcusNext: DeMarcus
Message 7 of 9 in “How can I do an automatic stash when doing a checkout?”
  1. DeMarcusDec 18, 2011
  2. Bruce Stephens brsDec 18, 2011
  3. DeMarcusDec 18, 2011
  4. Bruce Stephens brsDec 18, 2011
  5. Dirk SüsserottDec 19, 2011
  6. DeMarcusDec 19, 2011
  7. Holger HellmuthDec 19, 2011
  8. DeMarcusDec 19, 2011
  9. Junio C HamanoDec 19, 2011

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.