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

Re: Feature Request: git config for stash -u

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 13, 2020, 19:30 UTC
Message-ID
<xmqqpndgaw91.fsf@gitster.c.googlers.com>
In-Reply-To
<CACTq9vvv+_cEv3Epk3tku47qogH0b8oUtVWUEt=tX5UGzxQZ6g@mail.gmail.com>
Juan José López Villar <jjoselvill@gmail.com> writes:
> I was wondering if a git configuration could be made for including by
> default untracked files to git stash, so every time it runs it is like
> it had the -u flag appended. For example: stash.includeUntracked

It probably won't be just an addition of a configuration variable, but it would also need to adjust the command line option so that a configured stash.includeUntracked==true can be countermanded from the command line (e.g. "git stash --no-include-untracked").

Are you interested in running with your idea to implement it?
Previous: Juan José López Villar
Message 2 of 2 in “Re: Feature Request: git config for stash -u”
  1. Juan José López VillarMar 13, 2020
  2. Junio C HamanoMar 13, 2020

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.