Skip to content

I can not clone my local git repo into GitHub #21531

Discussion options

You must be logged in to vote

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants