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

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

From
Christian Neukirchen <chneukirchen@gmail.com>
Date
Jun 6, 2017, 13:42 UTC
Message-ID
<87o9u1cjvg.fsf@gmail.com>
In-Reply-To
<CACkx65CDzw64wsQ_t3YJUm_UP27fBf50n4r7mcMe1wZPW0TSjg@mail.gmail.com>
rajdeep mondal <justrajdeep@gmail.com> writes:
Show 7 quoted lines
> git version 2.6.3
> OS: RHEL 6
>
> Work around found in:
> https://stackoverflow.com/questions/3040833/stash-only-one-file-out-of-multiple-files-that-have-changed-with-git
>
> Workaround is not very optimal. Please add this support to git.
This has been implemented in Git 2.13:
> * "git stash push" takes a pathspec so that the local changes can be
>   stashed away only partially.
-- 
Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org
Previous: rajdeep mondal
Message 6 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.