Answers for "how to create a github repo from the command line"

0

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
Posted by: Guest on March-31-2022

Code answers related to "how to create a github repo from the command line"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language