Answers for "how to creat repo in github"

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
0

create a new repository on Github

echo "# visitor_management" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M Master
git remote add origin https://github.com/aymenit2008/visitor_management.git
git push -u origin Master
Posted by: Guest on August-04-2021
-1

create github repository

echo "# megamau" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin [email protected]:user_name/project_name.git
git push -u origin main
Posted by: Guest on January-17-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language