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

Re: Feature request: Please add support to stash specific files

From
Mike Hommey <mh@glandium.org>
Date
Jun 6, 2017, 21:03 UTC
Message-ID
<20170606210318.e2ey4pwxhxsuvizi@glandium.org>
In-Reply-To
<CACkx65CRfZ-Se6oPzy6fHtC7R19UWc-EDopudHQY3JiwV-hAAw@mail.gmail.com>
On Tue, Jun 06, 2017 at 02:38:08PM -0400, rajdeep mondal wrote:
Show 12 quoted lines
> Hi Randall,
> 
> I completely agree to what you are saying, but sometimes it just so
> happens that in the middle of a change, i feel like if some portion of
> the changes are fine I can commit them.  Stashing some of the files
> and being able to check the compile/tests at this point would be a
> really awesome change.
> 
> Stash supports a -p option to deal with this, it becomes cumbersome
> when the number of files are many.  Maybe it is something which would
> be a good to have feature. People need not use it if they dont want
> to.
Git 2.13.0 has that already.
git stash -- file1 file2
Mike
Previous: rajdeep mondalNext: rajdeep mondal
Message 4 of 6 in “Feature request: Please add support to stash specific files”
  1. rajdeep mondalJun 6, 2017
  2. Randall S. BeckerJun 6, 2017
  3. rajdeep mondalJun 6, 2017
  4. Mike HommeyJun 6, 2017
  5. rajdeep mondalJun 6, 2017
  6. Christian NeukirchenJun 6, 2017

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.