Answers for "git push existing code to new repository"

11

push code to github command line

git add .
git commit -m "message for the commit"
git remote add origin https://url-of-github-repo
git push origin master
Posted by: Guest on April-30-2020
4

git push existing code to new repository

git remote add origin <remote repository URL>
Posted by: Guest on May-28-2020

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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language