Answers for "push existing rep to github"

1

create new repository on the command line

git init
git add README.MD
git commit -m "commit message"
git remote add origin git url_of_github_repo
git push origin master
Posted by: Guest on June-08-2020
-3

how to link a repo to a project on github

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

Code answers related to "push existing rep to github"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language