Reputation: 3829
I create a new new React native App and push to GitHub repository.
It shows my repository as Objective-C project.
How I can change this to JavaScript project?
I Added .gitignore file to stop unwanted files to upload to Github.
Thank you
Upvotes: 2
Views: 283
Reputation: 142
You just need to add a .gitattributes file to your repo. In that file add these lines
special-vendored-path/* linguist-vendored
*.js javascript linguist-vendored=false
Upvotes: 2
Reputation: 3359
Simplest thing was to create a file called .gitattributes in the root folder of repository, and give it these contents:
* linguist-vendored
*.js linguist-vendored=false
Upvotes: 1