Course made in collaboration between David Redondo and Mariano Álvarez. The main objective was made a little introduction to some advanced points on python programming such as OOP, how to work with some data formats, web services, github...
- OOP
- JSON
- CSV
- API
- HTTP
- GITHUB
https://realpython.com/python3-object-oriented-programming/
https://www.geeksforgeeks.org/python-oops-concepts/
https://realpython.com/python-json/
https://docs.python.org/3/library/csv.html
https://www.geeksforgeeks.org/working-csv-files-python/
https://www.tutorialspoint.com/python_network_programming/python_http_authentication.htm#
https://j2logo.com/python/python-requests-peticiones-http/#requests-json
https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners
- git init // Generate a git empty local repository in the path where you are
- git status // Show the status files within the path
- git add // Add only the file called to the staging area
- git add . // Add all the files to the staging area
- git commit -m “ Write the commit purpose inside these quotation marks ” // This command records or snapshots the file permanently in the version history
- git diff // Show all the differences between working directory files and localrepo files
- git git diff –staged // Shows the differences between the files in the staging area and the latest version present
- git reset // This command unstages the file, but it preserves the file contents
- git reset // Undoes ALL the commits after the spacified commit and preserves the changes locally
- git reset –hard // It does a hard reset which discard all history and goes back yo the specified commit
- git checkout -b // It creates a new branch and It switchs to the new branch
- git checkout // It switchs to the branch specified
- git log --graph --all --oneline // This command is used to list the version history for the current branch summarized
- git branch -a // It lists all the local branches
- git branch -d // Delete the current branch
- git merge // It merges the specified branch's histary inte the currente branch
-
git clone // It clones the url repository within the current path. This command it's pretty essential to establish a solid connection between both
-
git remote add // It connects your local repository to your remote repository.
-
git push origin // It pushs the files commited to the branch specified
-
git push --all // It pushs all the cahnages to the remote repository
-
git pull origin // It brings all the changes and new files uploaded to the specified branch
-
In case that you are having troubles to push or fetch your documents, include de command --rebase. This will update the branch with lastest changes. The command will have a sintax similar to this-> git push --rebase remote branch
- If it doesn't work, try with the command -f to force it. The command will have a sintax similar to this-> git push -f
https://www.youtube.com/watch?v=5g37NElQnCQ&list=WL&index=4
https://www.youtube.com/watch?v=9AflLDdSjkg
https://git-scm.com/book/id/v2/Git-Branching-Remote-Branches