open a browser:
-create account in github
-login
-click on plus button top-right "new repository"
set a name for the repository for example "tablas2"
check "public"
and Add a Readme File
click "create repository"
That's it.
open a Terminal:
git clone https://github.com/[user-name]/[repo].git
cd repo
-work here your files, dont forget create a .gitignore file
https://www.toptal.com/developers/gitignore with the terms linux, flask, venv
-at the end
git add .
git commit -m "my first commit"
git remote add origin https://[token]@github.com/[username]/[repo]
git push --set-upstream origin master (after that, only use "git push")
No hay comentarios:
Publicar un comentario