Re: [PATCH 0/1] Allow the 'revert' option in Git Gui to operate on untracked files, deleting them
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Oct 29, 2019, 00:12 UTC
- Message-ID
- <20191029001253.2lxsntgcivs2jhax@camp.crustytoothpaste.net>
- In-Reply-To
- <pull.423.git.1572289087.gitgitgadget@gmail.com>
On 2019-10-28 at 18:58:06, Jonathan Gilbert via GitGitGadget wrote:
Show 5 quoted lines
> My development environment sometimes makes automatic changes that I don't > want to keep. In some cases, this involves new files being added that I > don't want to commit or keep. I have typically had to explicitly delete > those files externally to Git Gui, and I want to be able to just select > those newly-created untracked files and "revert" them into oblivion.
Is there a reason these new files can't be ignored, with one of the .gitignore file, .git/info/exclude, or core.excludesFile?
If so, it would be helpful to explain that in the commit message so we can more fully understand the rationale here.
-- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204