Allow to ignore git locally
Actual Situation
When I'm developing a new template, I want to quickly iterate and quickly regenerate the template using existing answers, or quickly answer feq question. This works, but most of the time is handling the git-related code and handling dirty changes. I don't need any of this during the local development, but if I already have the .git directory present, it's impossible to avoid it. When developing, this inability to avoid git is UX obstable. I spend over half minute waiting before I am prompted with first question due to this.
It seems to cause issues with gitignored files too.
Desired Situation
Having a way to just use the local directory without any git operation even if .git directory is present.
Proposed solution
I would like to either have environment variable that stops using git, or have a special value in --vcs-ref that lets me ignore the .git directory.
Could you provide a reproducible example for us to better understand your specific workflow and the problems you're encountering? A minimal template (ideally created using shell commands) and a sequence of shell commands that exemplify your workflow would be very helpful. To simulate a large file that is slowing down the time to prompt, you can use, e.g., head -c 1G /dev/urandom > large-file.bin.