create a new repository on the command line

por | 21 marzo, 2023
echo "# repo" >> README.md
git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin [email protected]:user/repo.git
git push -u origin main