Answers for "git existing code to new repository"

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

Code answers related to "git existing code to new repository"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language