3 ms·
Can you store a .git/config filepath in a git repository, either via the cli or manually hacking the repo data files?
by hsbauauvhabzb 5y ago
Can you store a .git/config filepath in a git repository, either via the cli or manually hacking the repo data files?
- jwilk 5y agoI hope not! But, as it was pointed out in <https://news.ycombinator.com/item?id=31010522 https://news.ycombinator.com/item?id=31010522>, you can have nested malicious bare git repos.
- kadoban 5y agoNo. I think long ago there may have been some bug that allowed it with a hacked repo, so it's not a ridiculous thing to consider, but no git won't let you and any way you could would be a major CVE.