git config --global user.name "David Silva"
git config --global user.email "david.dacostaesilva@gmail.com"
git clone https://github.com/davidcsilva/python2.git
cd python
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
git pull (para puxar arquivos do repositorio)
git rm (para deletar arquivos)
git rm -r (para deletar diretorio)
cd existing_folder
git init
git remote add origin https://github.com/davidcsilva/python2.git
git add .
git commit -m "Initial commit"
git push -u origin master
cd existing_repo
git remote rename origin old-origin
git remote add origin https://github.com/davidcsilva/python2.git
git push -u origin --all
git push -u origin --tags
echo "# python2" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/davidcsilva/python2.git
git push -u origin main
git remote add origin https://github.com/davidcsilva/python2.git
git branch -M main
git push -u origin main