diff --git a/local-cli/generator/index.js b/local-cli/generator/index.js index 800e3b2506c..1899b35fe47 100644 --- a/local-cli/generator/index.js +++ b/local-cli/generator/index.js @@ -111,6 +111,10 @@ module.exports = yeoman.generators.NamedBase.extend({ this.templatePath('_gitignore'), this.destinationPath('.gitignore') ); + this.fs.copy( + this.templatePath('_gitattributes'), + this.destinationPath('.gitattributes') + ); this.fs.copy( this.templatePath('_watchmanconfig'), this.destinationPath('.watchmanconfig') diff --git a/local-cli/generator/templates/_gitattributes b/local-cli/generator/templates/_gitattributes new file mode 100644 index 00000000000..d895c194714 --- /dev/null +++ b/local-cli/generator/templates/_gitattributes @@ -0,0 +1 @@ +*.pbxproj binary