Re: [BUG] git pull ignores pull.autostash=true configuration when used with --git-dir and --work-tree flags on a bare repository
- From
Lidong Yan <yldhome2d2@gmail.com>
- Date
- Jul 15, 2025, 15:02 UTC
- Message-ID
- <1AD9A170-8E17-411D-A13B-EA7780CF4D39@gmail.com>
- In-Reply-To
- <010001980c90be66-2401a0b0-5c86-4135-90e2-c325852ef168-000000@email.amazonses.com>
Bryan Lee <hi@looping.me> wrote:
Show 5 quoted lines
> > Would it be worthwhile to: > 1. Add a warning when users set non-existent configuration keys? > 2. Or at least document common misconceptions like `pull.autostash` in > the git-config man page?
I think adding a subcommand like ‘git config verify’ might be a way to solve this problem.
- Lidong