Adds root /target directory to .gitignore