desorden:versionado:git
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| desorden:versionado:git [2026/01/13 23:52] – [Conexion] admin | desorden:versionado:git [2026/01/15 06:23] (actual) – [Conexion] admin | ||
|---|---|---|---|
| Línea 5: | Línea 5: | ||
| La última versión que funciona con Windows 7 64bit, es GIT 2.46.2 [[https:// | La última versión que funciona con Windows 7 64bit, es GIT 2.46.2 [[https:// | ||
| + | |||
| + | Interesante página que muestra como se guarda el archivo en el sistema git | ||
| + | * [[https:// | ||
| Usar Git-Extensions porque tiene buen GUI [[http:// | Usar Git-Extensions porque tiene buen GUI [[http:// | ||
| Línea 10: | Línea 13: | ||
| Complementarlo con Git-ftp [[http:// | Complementarlo con Git-ftp [[http:// | ||
| - | {{youtube> | + | {{ youtube> |
| comandos bash | comandos bash | ||
| Línea 87: | Línea 90: | ||
| #Restaurar al ultimo commit | #Restaurar al ultimo commit | ||
| - | git checkout | + | git checkout <nombre del archivo> |
| + | |||
| + | #Restaurar (nuevo comando como checkout) | ||
| + | git switch main (main branch default) | ||
| + | git switch <nombre del archivo> | ||
| #Ver las diferencias con respecto al commit | #Ver las diferencias con respecto al commit | ||
| Línea 101: | Línea 109: | ||
| * [[https:// | * [[https:// | ||
| + | |||
| + | {{ youtube> | ||
| Manejo de versionados (brand, checkout): | Manejo de versionados (brand, checkout): | ||
| Línea 111: | Línea 121: | ||
| #Crear Branch | #Crear Branch | ||
| git branch <nombre del branch> | git branch <nombre del branch> | ||
| + | |||
| + | #1o: | ||
| + | git checkout -b <nuevo branch> | ||
| + | #2do: | ||
| + | git switch -c <nuevo branch> | ||
| #elegir branch | #elegir branch | ||
| Línea 217: | Línea 232: | ||
| </ | </ | ||
| + | * **git fetch:** Downloads new data and changes from the remote repository to your local machine, without integrating them into your current working branch. This is considered the " | ||
| + | * **git pull:** Performs a git fetch immediately followed by a git merge (or git rebase if configured) to integrate the remote changes into your current local branch. This can lead to merge conflicts if not used carefully. | ||
| + | * **git push:** Uploads your local commits to the remote repository, sharing your changes with others. | ||
desorden/versionado/git.1768348350.txt.gz · Última modificación: 2026/01/13 23:52 por admin
