aleixmorgadas’s avataraleixmorgadas’s Twitter Archive—№ 1,138

    1. A super cool way to ignore the node_modules and other files that you don't want to copy is using the next rsync command rsync -vhra /source/project/ /destination/project/ --include='**.gitignore' --exclude='/.git' --filter=':- .gitignore' --delete-after @aleixmorgadas/1475929038673821707
  1. …in reply to @aleixmorgadas
    It uses the .gitignore to not copy those folders in the target directory. Awesome!