Skip to content

davidcsilva/python2

Repository files navigation

Git global setup

git config --global user.name "David Silva"

git config --global user.email "david.dacostaesilva@gmail.com"

Create a new repository

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)

Push an existing folder

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

Push an existing Git repository

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

…or create a new repository on the command line

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

…or push an existing repository from the command line

git remote add origin https://github.com/davidcsilva/python2.git

git branch -M main

git push -u origin main

About

Repositório de Python a partir do zero

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages