Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Create github repo in command line

echo "# project name" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/User/repo
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Create #github #repo #command #line
ADD COMMENT
Topic
Name
7+4 =