Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

creating new repository

echo "# comp305_cw1" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Eisen9/comp305_cw1.git
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #creating #repository
ADD COMMENT
Topic
Name
8+6 =