Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git create a new repository

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