How To Create Repository On Github

Make sure to create the repository on Git Hub First. But leave all the options unchecked.

Open your terminal and type the following commands

Remove existing Repository Then 

git init
git add README.md
git commit -m "first commit"
git remote rm origin
git remote add origin git@github.com:myGitUserName/MyRepository
git push -u origin master



#Commit to Repository

git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:myGitUserName/MyRepository
git push -u origin master

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

©2020 RussellCoder

Log in with your credentials

or    

Forgot your details?

Create Account