I've seen articles that instruct developers to add docroot/vendor to the .gitignore but if I require a module with composer and push up that module, will that cause a huge error on the site I'm pushing up to?
Does my composer.json file have to include all of the modules in my modules directory?
If I were to copy and paste the composer.json file into another install and run
composer install would that automatically give me all of the dependencies I need?
As you can tell, I'm pretty new to Drupal 8. The team I work with uses Acquia and I'm finding a ton of issues when trying come up with a good workflow using compser, drush, git, and config management.