May 24, 2020 in Drupal 8

The following git ignore file can help you when searching for best practices on GIT in combination with drupal 8. For easy understanding: this makes sure your contrib modules and themes are NOT added to version control. You should deploy them via composer.

# Ignore directories generated by Composer

# Ignore all site specific data

# Ignore IDE files

# Ignore all log files

# Ignore node modules

# Ignore some css related stuff

# Ignore default text files