gitignore
gitignore copied to clipboard
Contrib folder is generated by Composer
It should be excluded. If devs need to change in contrib modules, they can write patches also they can share them with the community.
https://www.drupal.org/docs/develop/git/using-git-to-contribute-to-drupal