VOOZH about

URL: https://github.com/orgs/community/discussions/21531

⇱ I can not clone my local git repo into GitHub · community · Discussion #21531 · GitHub


Skip to content

👁 @community
GitHub Community

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

👁 Image
stevespages

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

Replies: 2 comments

👁 Image
Wabri

0 replies

👁 Image
stevespages
Author

0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
You can’t perform that action at this time.