How to prevent git from using the global config?

Viewed 771

I have case where running some git related tests could generate failures if the user running them has some custom hooks installed inside his ~/.git-template/hooks folder.

Mainly I do want to find a way to run git commands in insolation, where git would skip using the default hooks and maybe even loading other global configs.

1 Answers
Related