Slide 120
Slide 120 text
Git patch
Se ha dividido en 3 cachos. Añadimos el primer hunk
Stage this hunk [y,n,q,a,d,/,e,?]? s
Split into 3 hunks.
@@ -1,2 +1,4 @@
+I'm Git's first friend
+
Git is my friend :D
Stage this hunk [y,n,q,a,d,/,j,J,g,e,?]? y
@@ -1,3 +3,5 @@
Git is my friend :D
+Hello Git!!!
+
And mine too! :P
Stage this hunk [y,n,q,a,d,/,K,j,J,g,e,?]? n
El segundo hunk no lo añadimos al stage
@@ -3 +7,3 @@
And mine too! :P
+
+And mine also! ;)
Stage this hunk [y,n,q,a,d,/,K,g,e,?]? y
Y por último, el 3er hunk si lo añadimos al stage. Quedando en el stage el hunk 1 y 3 mientras que el
2do está en modified (sigue)