Compare commits

...

2 Commits

Author SHA1 Message Date
Juanposo 058ac0143e Merge branch 'main' of https://dev.ilab.cl/jparrap/Indietronica_Hardtech_Piton
misheando mira tu
2025-12-01 14:44:42 -03:00
Juanposo c6642cad01 git cheasheet 2025-12-01 14:43:46 -03:00
2 changed files with 15 additions and 2 deletions

View File

@ -8,10 +8,9 @@ import platform
my_os = platform.system()
def asignar carpeta_guardado(my_os):
def asignar carpeta_guardado(my_os, download_path):
if my_os = "Linux" or my_os = "Darwin":
# download_path = (/home/{USER}/Downloads/)
if my_os = "Windows":
# download_path = (/home/)
return download_path

14
git_cheatsheet.md 100644
View File

@ -0,0 +1,14 @@
# Info útil para usar git
git init = initialize project to use git
git add . = add all changes to be saved
git add filename = add single file to be saved
git commit -m "message" = save changes with message
git push origin main = push changes to github master
git pull origin main = pull changes from github master
git checkout -b *new-branch* = create a new branch
git status = check status of changes
git log = see all previous saved changes
git checkout *commit hash* = travel back to old commit
Link de video que me sirvió caleta para entender como funciona git: https://youtu.be/mJ-qvsxPHpY