git
Diferencias
Muestra las diferencias entre dos versiones de la página.
git [2025/04/04 14:39] – creado hispa | git [Fecha desconocida] (actual) – editor externo (Fecha desconocida) 127.0.0.1 | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
+ | <WRAP round box> | ||
+ | ====== Git ====== | ||
+ | </ | ||
+ | <WRAP tabs> | ||
+ | * [[Chuletas y apuntes diversos]] | ||
+ | </ | ||
+ | Iniciar git: | ||
+ | < | ||
+ | git init | ||
+ | </ | ||
+ | Añadir archivos: | ||
+ | < | ||
+ | git add < | ||
+ | </ | ||
+ | |||
+ | Comprobar estado de la rama: | ||
+ | < | ||
+ | git status | ||
+ | </ | ||
+ | |||
+ | Añadir URL del repositorio remoto: | ||
+ | < | ||
+ | git remote add origin https:// | ||
+ | </ | ||
+ | |||
+ | Subir los archivos en local al repositorio remoto: | ||
+ | < | ||
+ | git push -u origin main | ||
+ | </ | ||
+ | |||
+ | {{tag> chuletas_y_apuntes_diversos git}} |