Safer vibecoding via old hacker habits(addxorrol.blogspot.com) |
Safer vibecoding via old hacker habits(addxorrol.blogspot.com) |
This way you don't have to give git access to the potentially unsafe server. Git hook attacks are still possible so disable those by defaultç
This is an unusual folder structure but works fine, let me know if there is anything iffy
I'd imagine you lose the ability to have the coding agent do the commits for you? E.g. if you just mount the code directory, then an agent running on the remote side can't commit anything, right?
So you'd have to mount the .git directory from the remote side to then push?
You can disable this behavior globally. Yes, the agent should have no git access this way, however you could always do a local sub repository if you want to. You track your changes twice, but should work