Preventing the generated directory from being committed