create new repo with command line code example
Example 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
Example 2: Create new repo
echo "# DesktopApp" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/cmps277-dbproject/DesktopApp.git
git push -u origin main