Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Creating a New Repo on the command line

echo "# handydandydevblog" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:githubuserName/urProjectsname.git
git push -u origin main
Source by www.github.com #
 
PREVIOUS NEXT
Tagged: #Creating #New #Repo #command #line
ADD COMMENT
Topic
Name
8+8 =