Answers for "create new git repo with terminal"

0

git create new repo

echo "# TicTacToe" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Sandox/TicTacToe.git
git push -u origin main
Posted by: Guest on June-04-2021
0

can i create a git repository via terminal

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 September-17-2021

Code answers related to "create new git repo with terminal"

Browse Popular Code Answers by Language