From: "Luca Di Carlo" <luca@dicarlo.email>
To: git@vger.kernel.org
Subject: git non-intrusive clone
Date: Wed, 07 Oct 2026 10:40:13 +0200 [thread overview]
Message-ID: <e30c5b13-5ca3-43d1-a87a-d807b71bad7b@app.fastmail.com> (raw)
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
next reply other threads:[~2026-10-07 8:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 8:40 Luca Di Carlo [this message]
2026-10-07 18:54 ` git non-intrusive clone D. Ben Knoble
2026-10-07 19:19 ` Luca Di Carlo
2026-10-07 19:50 ` D. Ben Knoble
2026-10-07 20:26 ` Nico Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e30c5b13-5ca3-43d1-a87a-d807b71bad7b@app.fastmail.com \
--to=luca@dicarlo.email \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox