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?