wtw24
10/8/2019 - 11:31 AM

Github - Quick setup

Github - Quick setup

…or create a new repository on the command line

echo "# my_repo" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:wtw24/my_repo.git
git push -u origin master

…or push an existing repository from the command line

git remote add origin git@github.com:wtw24/my_repo.git
git push -u origin master