John
John

Reputation: 3829

Create React Native Github repository

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 enter image description here

Upvotes: 2

Views: 283

Answers (2)

Vaibhav Sah
Vaibhav Sah

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

Asif vora
Asif vora

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

Related Questions