Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

push/upload git repo to github

git remote add origin https://github.com/username/projectname.git
#A new repo should be created on GitHub and the url used in the initial upload.

git push -u origin master
#Subsequent command used to upload project. If name of master branch han been
#changed, use that name.
 
PREVIOUS NEXT
Tagged: #git #repo #github
ADD COMMENT
Topic
Name
4+7 =