Answers for "command start a repo"

1

create new repo cli

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:alexpchin/<reponame>.git
git push -u origin master
Posted by: Guest on February-25-2021
0

create a new repository using command line

echo "# facebook-clone" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/sulaimanwebdev/facebook-clone.git
git push -u origin main
Posted by: Guest on May-28-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language