Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
clase:daw:daw:2eval:tema06 [2024/11/14 12:17] admin [Recetas] |
clase:daw:daw:2eval:tema06 [2025/04/13 10:37] (actual) admin [6. Control de Versiones Avanzado] |
||
---|---|---|---|
Línea 6: | Línea 6: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
Línea 549: | Línea 550: | ||
<sxh bash> | <sxh bash> | ||
+ | #Día 1:Lunes | ||
git fetch --prune && git switch develop && git merge --ff-only origin/ | git fetch --prune && git switch develop && git merge --ff-only origin/ | ||
git branch lorenzo_45 | git branch lorenzo_45 | ||
Línea 557: | Línea 559: | ||
git push | git push | ||
+ | #Día 2:Martes | ||
git fetch --prune && git switch develop && git merge --ff-only origin/ | git fetch --prune && git switch develop && git merge --ff-only origin/ | ||
git switch lorenzo_45 | git switch lorenzo_45 | ||
Línea 565: | Línea 568: | ||
git push | git push | ||
+ | #Día 3:Miercoles | ||
git fetch --prune && git switch develop && git merge --ff-only origin/ | git fetch --prune && git switch develop && git merge --ff-only origin/ | ||
git switch lorenzo_45 | git switch lorenzo_45 | ||
Línea 575: | Línea 578: | ||
+ | #Día 4: Jueves | ||
+ | git fetch --prune && git switch develop && git merge --ff-only origin/ | ||
+ | git switch lorenzo_45 | ||
+ | git merge develop | ||
+ | git commit -m " | ||
+ | git commit -m " | ||
+ | git commit -m " | ||
+ | git push | ||
+ | |||
+ | |||
+ | #Día 5: Viernes | ||
git fetch --prune && git switch develop && git merge --ff-only origin/ | git fetch --prune && git switch develop && git merge --ff-only origin/ | ||
git switch lorenzo_45 | git switch lorenzo_45 | ||
Línea 581: | Línea 595: | ||
git switch develop | git switch develop | ||
git merge --squash lorenzo_45 | git merge --squash lorenzo_45 | ||
- | git commit -am " | + | git commit -am " |
git push | git push | ||
#Si falla el push hacer el fetch y rebase | #Si falla el push hacer el fetch y rebase | ||
git fetch --prune | git fetch --prune | ||
git rebase origin/ | git rebase origin/ | ||
+ | git push | ||
git push origin --delete lorenzo_45 | git push origin --delete lorenzo_45 | ||
- | git branch --delete lorenzo_45 | + | git branch --delete |
</ | </ |