git ignorer par extension de fichier

*.json
!spec/*.json
Powerhudaman