ggshield invocation during git commit

Prasad Khalane 25 Reputation points
2026-07-24T13:18:54.55+00:00

In VS 2019, ggshield gets invoked automatically while making commits, and it blocks commit if secret is present in any file.

But this is not happening with Visual Studio 2022, because it uses it's own mini git version.

I am not able change VS 2022 setting to use windows default git. How to integrate that pre-commit hook of ggsheild in VS 2022.

Developer technologies | Visual Studio | Setup
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.