kymbrik
12/1/2017 - 12:46 PM

How do I do an initial push to a remote repository with Git

mkdir my_project
cd my_project
touch .gitignore
git init
git add .
git commit -m "Initial commit"
git remote add origin https://...
git push origin master