Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

create a new repository on the command line

echo "# sy-sem-1" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/Avdhut16343/sy-sem-1.git
git push -u origin master
Source by github.com #
 
PREVIOUS NEXT
Tagged: #create #repository #command #line
ADD COMMENT
Topic
Name
2+5 =