👁 @community
GitHub Community
I can not clone my local git repo into GitHub #21531
Answered
by
Wabri
stevespages
asked this question in
New to GitHub
·
2 comments
Answered by
Wabri
You have to make the remote repository otherwise doesn’t exists this repo https://github.com/stevespages/new-project. you can not clone something to somewhere that doesn’t exists, so you have to create the remote repository in github:
and then connect the two repository (your local and your origin) with the command:
git remote add origin https://github.com/stevespages/new-project.git
when you will make some change you can add-commit-push and see the result!
PS: if you are in your first use of git probably this is necessary
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Category
New to GitHub
Labels
None yet
