Answers for "how to create a repo in github from a existing code"

1

git existing code to new repository

cd myapp
git init
git remote add origin https://github.com/myname/myapp.git
git add .
git commit -m "Initial commit"
git push -u origin master
Posted by: Guest on May-18-2021
-3

how to link a repo to a project on github

$ git init
Posted by: Guest on December-10-2019

Code answers related to "how to create a repo in github from a existing code"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language