Cook the pasta according to package instructions, reserve ½ cup of pasta water, drain, and set aside.
In the same pot over medium heat, heat oil. Add garlic and tomatoes and cook for 2 or 3 minutes, gently mashing the tomatoes with the back of a spatula or wooden spoon.
Stir in the basil, salt, pasta, and pasta water.
