git non-intrusive clone
- From
- Luca Di Carlo <luca@dicarlo.email>
- Date
- Oct 7, 2026, 08:40 UTC
- Message-ID
- <e30c5b13-5ca3-43d1-a87a-d807b71bad7b@app.fastmail.com>
Hey everyone, I am reading more and more blog posts about job interviews that require the people to git clone a malicious repo with commands executed using git hooks. I wonder if we could have a `git clone --non-intrusive ...` That would disable all git settings set within the repo. Maybe by adding a `.nogitconfig` file or something, so that the developers remember that because of this file, he cannot push or fetch, or use any `.git/` defined stuff.
I hope this is the right channel, sorry if it's not.
Thank you for all your work, Kind regards Luca
Cordialement Luca Di Carlo