Skip to content

Instantly share code, notes, and snippets.

@dharavp
Last active April 19, 2024 13:58
Show Gist options
  • Save dharavp/30cc6d8805b5e9c16ccdb34087f7e966 to your computer and use it in GitHub Desktop.
Save dharavp/30cc6d8805b5e9c16ccdb34087f7e966 to your computer and use it in GitHub Desktop.
This Document is include to upload react-native project on github in ubantu
Upload React Native Project on Git
Step:1 Create Repository in Git Account
Step:2 Go Into the Folder of your project
Step:3 Initialize git
-> git init
Step:4 Add File into the Git
-> git add .
Step:5 Do Initial Commit
-> git commit -m 'initial commit'
Step:6 Add Origin Branch
-> git remote add origin https://github.com/dharavp/AuthFirebase-react-native.gi // your Repository's URL
Step:7 Push Code on your master Branch
-> git push -u origin master
@MudassirMobi
Copy link

Thanks , it worked for me perfectly.

@RanaUmarFarooq
Copy link

its woks perfectly

@RekhaRavi34
Copy link

It worked. Thanks.

@Arcani18
Copy link

what happens with ios and android Files

@salmoon7
Copy link

it didn't work for me it's writing "fatal: LF would be replaced by CRLF in .bundle/config" whnever i add file
.... what can i do to it

@RekhaRavi34
Copy link

core.autocrlf should be set to true(windows) or input(mac)

@shivagunasehkaran
Copy link

It worked. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment