forked from mikenieva/presentacion-mejorandogit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
2931 lines (2422 loc) · 63.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Curso Profesional de Git y GitHub - #platzigit</title>
<meta name="description" content="Curso Profesional de Git y GitHub. Por Platzi.">
<meta name="author" content="Miguel Nieva">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.min.css">
<link rel="stylesheet" href="css/theme/sky.css" id="theme">
<!-- For syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Favicons
================================================== -->
<link rel="shortcut icon" href="https://raw.githubusercontent.com/platzi/git/master/favicon.ico">
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
<script>
if( window.location.search.match( /print-pdf/gi ) ) {
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = 'css/print/pdf.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
</script>
<meta property="og:type" content="website" />
<meta property="og:url" content="http://git.miguelnieva.com" />
<meta property="og:image" content="http://l4c.me/fullsize/curso-git-mike-1416266619.png" />
<meta property="og:title" content="Curso Profesional de Git y GitHub - #platzigit" />
<meta property="og:site_name" content="platzigit" />
<meta property="og:description" content="Formamos profesionales Web de clase mundial. Entra ya: Platzi/git"/>
<meta property="fb:profile_id" content="mikenieva" />
<meta property="fb:admins" content="mikenieva" />
</head>
<body>
<div class="hola" style="height: 5.2em;background: rgb(0, 0, 0);color: white;">
<div class="titulos" style="display: inline-block;vertical-align: top;width: 48%;">
<img src="img/git-icon.png" style="border-radius: 15px; width: 44px; padding: 8px; background-color: white; border: 3px solid #ccc; display: inline-block; margin: 10px 0 0 15px;">
<h1 style="margin: 0;font-family: 'Open sans';font-size: 22px;text-align: left;vertical-align: top;font-weight: 300;display: inline-block;padding: 31px 0 0 16px;"><a style="color: white; text-underline: none;" href="#/0">Curso Profesional de Git & Github</a></h1>
</div>
<div class="mejorandola" style="display: inline-block;width: 48%;text-align: right;">
<h2 style="margin: 0; font-family: 'Open sans'; font-size: 22px; vertical-align: top; font-weight: 300; display: inline-block; padding: 31px 0 0 16px;">@mikenieva - #platzigit
</h2>
<img src="https://avatars0.githubusercontent.com/u/1768149?v=2&s=200" style="border-radius: 15px; width: 44px; padding: 8px; border: 1px solid #ccc; display: inline-block; margin: 10px 0 0 15px;">
</div>
</div>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section style="width: 1000px; text-align: left;">
<br>
<ol style="text-align: left;font-size: 22px;display: inline-block;width: 500px;list-style: none;">
<h1 style="text-align: left;font-size: 32px;">Git 2014</h1>
<li>
1. <a href="#/1">Instalación</a>
</li>
<li>
2. <a href="#/26">Ramas y fusiones</a>
</li>
<li>
3. <a href="#/59">Workflows y colaboración remota</a>
</li>
<li>
4. <a href="#/108">Manual Deployment + Project Management</a>
</li>
<li>
5. <a href="#/130">Automatic Deployment + Git Hooks</a>
</li>
<br>
<h1 style="font-size: 32px;display: inline-block;">Desafíos</h1>
<li>
1. <a href="#/0">Crear un Blog en GitHub Pages</a>
</li>
<li>
2. <a href="#/0">Blog universitario. Diseño.</a>
</li>
<li>
3. <a href="#/0">Blog universitario. Deployment Automático.</a>
</li>
</ol>
<ol style="display: inline-block;font-size: 22px;width: 400px;vertical-align: top;list-style: dotted;">
<h1 style="font-size: 32px;display: inline-block;">GIT 2016</h1>
<li>
<a href="#/159">Instalación y conceptos básicos</a>
</li>
<li>
<a href="#/200">Navegación entre commits</a>
</li>
<li>
<a href="">Workflows y repositorios remotos</a>
</li>
<li>
<a href="">Project Management con GitHub</a>
</li>
<li>
<a href="">Push To Deploy</a>
</li>
<li>
<a href="">Workflows dinámicos con equipos</a>
</li>
<li>
<a href="">Conceptos Avanzados</a>
</li>
<li>
<a href="">Herramientas Útiles</a>
</li>
<li>
<a href="">GUI's</a>
</li>
<li>
<a href="">GitLab</a>
</li>
</ol>
</section>
<!-- Clase 1 #mejorandogit -->
<section>
<img src="https://octodex.github.com/images/plumber.jpg" style="width: 310px;margin-top: 105px;box-shadow: none;border: none;">
<br>
<br>
<h1 style="font-size:31px">1. Instalación</h1><br>
<p>Git 2014</p>
</section>
<section>
<blockquote>"Fear isn't the enemy. Paralysis is the enemy."</blockquote>
<br>
<p><span class="glyphicon glyphicon-star"></span>Seth Godin</p>
<br>
<blockquote>"Somos una revolución, un movimiento, una nueva generación tecnológica que abre, unida, el futuro de la Web"</blockquote>
<br>
<p><span class="glyphicon glyphicon-star"></span>Comunidad Platzi</p>
</section>
<section>
<br>
<h3>Roadmap</h3>
<img src="img/git-temario.png" />
</section>
<section>
<h3>Objetivo principal</h3>
<br>
<p>Generes un proyecto, vayas salvando sus cambios y puedas viajar en el tiempo con él.</p>
</section>
<section>
<h3>Empecemos con el contexto</h3>
<br>
<p>1.1 Instalación y conceptos básicos</p>
<p>1.2 Sistemas de Control de Versiones.</p>
<p>1.3 ¿Qué es Git?</p>
<p>1.4 Arquitectura de Árbol.</p>
<p>1.5 Configurando GIT.</p>
</section>
<section>
<h3>1.1 Instalación </h3>
<br>
<p>a) Entren a <a href="http://git-scm.com" target="_blank">http://git-scm.com</a></p>
<p>b) Escoja dependiendo de Windows, Mac, Linux</p>
</section>
<section>
<h3>1.2 Sistemas de Control de Versiones </h3>
<br>
<img src="http://l4c.me/fullsize/maestros-del-web-evolucion-1414362396.png">
</section>
<section>
<br>
<h3>1.2 Sistemas de Control de Versiones </h3>
<br>
<img src="img/versiones1.png" style="width:500px;">
<p>1) Registran y guardan cada modificación del proyecto en un registro. Todo lo que modificas, lo vigilan.</p>
</section>
<section>
<br>
<h3>1.2 Sistemas de Control de Versiones </h3>
<br>
<img src="img/versiones2.png" style="width:500px;">
<p>2) Te dan acceso a este registro. Con esto, puedes gestionarlo, compartirlo, colaborarlo, administrarlo, editarlo, etc.</p>
</section>
<section>
<br>
<h3>1.2 Sistemas de Control de Versiones </h3>
<br>
<img src="img/versiones3.png" style="width:500px;">
<p>3) Podrás moverte hacia atrás o hacia adelante en diferentes momentos del proyecto.</p>
</section>
<section>
<h3>1.3 ¿Qué es GIT? </h3>
<br>
<img src="http://l4c.me/fullsize/git-github-1414373606.png">
</section>
<section>
<br>
<h3>1.3 ¿Qué es GIT? </h3>
<br>
<img src="img/mundos.png">
</section>
<section>
<br>
<br>
<h3>1.3 ¿Qué es GIT? </h3>
<br>
<img src="http://l4c.me/fullsize/cambios1-1414373635.png">
</section>
<section>
<br>
<h3>1.3 ¿Qué es GIT? </h3>
<img src="http://l4c.me/fullsize/workflow1-1414373575.png">
</section>
<section>
<br>
<h3>1.4 Arquitectura de árbol </h3>
<img src="http://l4c.me/fullsize/git-puzzlebubble2-1414528547.png">
</section>
<section>
<br>
<h3>1.4 Arquitectura de árbol </h3>
<br>
<img src="http://l4c.me/fullsize/workingarea-1414895970.png" style="width: 400px;">
</section>
<section>
<br>
<h3>1.4 Arquitectura de árbol </h3>
<br>
<img src="http://l4c.me/fullsize/stagingarea-1414895989.png" style="width: 500px;">
</section>
<section>
<br>
<h3>1.4 Arquitectura de árbol </h3>
<br>
<img src="http://l4c.me/fullsize/repositorio-1414897510.png" style="width: 500px;">
</section>
<section>
<br>
<h3>1.4 Arquitectura de árbol </h3>
<img src="img/arbol.png" style="width: 700px;"></section>
<section>
<br>
<h3>1.5 Configuración </h3>
<br>
<p>Abrir terminal, consola, bash</p>
<pre><code data-trim>
$ git --version
</code></pre>
<pre><code data-trim>
$ git config --global user.name "TU NOMBRE"
</code></pre>
<pre><code data-trim>
$ git config --global user.email "TU CORREO DE GITHUB"
</code></pre>
<pre><code data-trim>
$ git config --global color.ui true
</code></pre>
<pre><code data-trim>
$ git config --global --list
</code></pre>
</section>
<section>
<br>
<h3>Ejercicio (70% de git)</h3>
<br>
<img src="img/iteracionbasica.png">
</section>
<section>
<br>
<h3>Ejercicio (70% de git)</h3>
<br>
<img src="img/gitcheckout.png">
</section>
<section>
<br>
<h3>Ejercicio (70% de git)</h3>
<br>
<img src="img/gitreset.png">
</section>
<!-- Clase 2 #mejorandogit -->
<section>
<img src="https://octodex.github.com/images/ironcat.jpg" style="width: 310px;margin-top: 105px;box-shadow: none;border: none;">
<br>
<br>
<h1 style="font-size:31px">2. Ramas y Fusiones</h1><br>
<p>Git 2014</p>
</section>
<section>
<br>
<h3>Roadmap</h3>
<img src="img/git-temario.png" />
</section>
<section>
<h3>Objetivo principal</h3>
<br>
<p>Con nuestro proyecto portafolio, generaremos 3 versiones. Una estable, una experimental y una que fusionemos.</p>
</section>
<section>
<h3>Consejo:</h3>
<br>
<p>¡Practica! ¡Falla! ¡Experimenta!</p>
</section>
<section>
<h3>Empecemos con el contexto</h3>
<br>
<p>2.1 Propuestas de proyectos</p>
<p>2.2 Ramas (Branches)</p>
<p>2.3 Fusiones (Merge)</p>
</section>
<section>
<h3>2.1 Propuestas de Proyectos </h3>
<br>
<p>¿Cómo puedo intervenir positivamente en el proyecto sin afectarlo?</p>
</section>
<section>
<h3>2.1 Propuestas de Proyectos </h3>
<br>
<p>¿Cómo puedo enfocarme en resolver un bug, un problema, sin afectar el avance de mi equipo?</p>
</section>
<section>
<h3>2.1 Propuestas de Proyectos </h3>
<br>
<p>Como profesionales, <b>proponer</b> es una de las habilidades más importantes para crecer dentro de una empresa.</p>
</section>
<section>
<h3>2.1 Propuestas de Proyectos </h3>
<br>
<p>Por ello, en GIT, existen las ramas, también conocidos como "branches".</p>
</section>
<section>
<h3>2.2 Ramas</h3>
<br>
<p>Una rama es una línea alterna del tiempo, en la historia de nuestro repositorio.</p>
<br>
<p>Funciona para crear features, arreglar bugs, experimentar, sin afectar la versión estable, la línea principal, del proyecto.</p>
</section>
<section>
<h3>2.2 Ramas</h3>
<br>
<img src="http://l4c.me/fullsize/fusion1-1416763203.png">
</section>
<section>
<h3>2.2 Ramas</h3>
<br>
<img src="http://l4c.me/fullsize/fusion2-1416763223.png">
</section>
<section>
<h3>2.2 Ramas</h3>
<br>
<img src="http://l4c.me/fullsize/fusion3-1416763242.png">
</section>
<section>
<h3>2.2 Ramas</h3>
<br>
<img src="http://l4c.me/fullsize/fusion4-1416763358.png">
</section>
<section>
<h3>2.2 Ramas</h3>
<br>
<img src="http://l4c.me/fullsize/fusion5-1416763372.png">
</section>
<section>
<h3>2.2 Ramas</h3>
<br>
<img src="http://l4c.me/fullsize/fusion6-1416763385.png">
</section>
<section>
<br>
<br>
<br>
<h3>2.2 Ramas</h3>
<br>
<p>El concepto HEAD</p>
<p>¿En qué punto de la historia de nuestro proyecto nos encontramos?</p>
<img src="http://l4c.me/fullsize/head-1416765375.png">
</section>
<section>
<br>
<h3>2.2 Ramas</h3>
<br>
<p>Practiquemos ramas</p>
<p>git branch [nombre]</p>
</section>
<section>
<br>
<h3>2.2 Ramas</h3>
<br>
<p>git log --oneline --graph --all</p>
<p>git config --global alias.log 'log --oneline --graph --all'</p>
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>Repitamos el proceso de la fusión</p>
<img src="http://l4c.me/fullsize/fusion4-1416763358.png">
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>git checkout [branch]</p>
<img src="http://l4c.me/fullsize/branch-fusion0-1416767226.png">
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>git checkout [branch]</p>
<img src="http://l4c.me/fullsize/branch-fusion1-1416766450.png">
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>git checkout [branch]</p>
<img src="http://l4c.me/fullsize/branch-fusion2-1416766468.png">
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>Hagamos la fusión</p>
<img src="http://l4c.me/fullsize/branch-fusion2-1416766468.png">
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>Fu...</p>
<img src="http://l4c.me/fullsize/branch-fusion3-1416766492.png">
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>...sión!</p>
<img src="http://l4c.me/fullsize/branch-fusion4-1416766512.png">
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>La fusión tiene la mezcla de los cambios de ambas ramas</p>
<img src="http://l4c.me/fullsize/branch-fusion4-1416766512.png">
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>Lo mejor de ambas, establecidas por el gestor del proyecto</p>
<img src="http://l4c.me/fullsize/branch-fusion4-1416766512.png">
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>Solución de conflictos</p>
<br>
<p>a) Fast-Forward</p>
<p>b) Manual Merge</p>
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>Solución de conflictos</p>
<br>
<p>Fast-Forward</p>
<p>Los gestores trabajaron archivos diferentes al repositorio</p>
</section>
<section>
<br>
<h3>2.3 Fusiones</h3>
<br>
<p>Solución de conflictos</p>
<br>
<p>Manual Merge</p>
<p>¿Qué pasa cuando 2 desarrolladores trabajan el mismo archivo en la fusión?</p>
</section>
<!-- Clase 3 #mejorandogit -->
<section>
<img src="https://octodex.github.com/images/daftpunktocat-thomas.gif" style="width: 310px;margin-top: 105px;box-shadow: none;border: none;">
<br>
<br>
<h1 style="font-size:31px">3. Workflows y colaboración remota</h1><br>
<p>Git 2014</p>
</section>
<section>
The Web connects people. That’s what it does.
<br>
<br>
And movements take connected people and make change.
</section>
<section>
<br>
<h3>Roadmap</h3>
<img src="img/git-temario.png" />
</section>
<section>
<h3>Objetivo Principal</h3>
<br>
<p>1) Crear un repositorio en GitHub y vincularlo en local.</p>
<p>2) Subir nuestro portafolio a nuestro repositorio "forked" en GitHub.</p>
</section>
<section>
<br>
<h3>Empecemos con el contexto</h3>
<br>
<p>1) GitHub & Workflows</p>
<p>2) Repositorios propios</p>
<p>3) Repositorios "forked"</p>
</section>
<section>
<br>
<h3>GitHub</h3>
<br>
<p>Es una plataforma social para construir <u>proyectos web</u>.</p>
</section>
<section>
<br>
<img src="http://l4c.me/fullsize/github1-1417396186.png">
</section>
<section>
<br>
<h3>Workflows</h3>
<br>
<p>Flujos de trabajo colaborativos.</p>
</section>
<section>
<br>
<h3>Workflows</h3>
<br>
<p>¿Cómo logro que varios profesionales web trabajen sobre un mismo proyecto, sin morir en el intento?</p>
</section>
<section>
<br>
<br>
<h3>Workflows</h3>
<img src="http://l4c.me/fullsize/github2-1417397149.png" style="width: 600px;">
</section>
<section>
<br>
<img src="http://l4c.me/fullsize/roadmapworkflow2-1417473808.png" style="max-width: 107%;">
</section>
<section>
<br>
<p><b>Exploración: Git Clone</b></p>
<br>
<p>$ git clone [https or SSH]</p>
<p>$ git log (comprobar commits)</p>
</section>
<section>
<br>
<p>Git Clone</p>
<img src="http://l4c.me/fullsize/clone1-1417412762.png">
</section>
<section>
<br>
<p>Git Clone</p>
<img src="http://l4c.me/fullsize/clone2-1417412777.png">
</section>
<section>
<br>
<p>Git Clone</p>
<img src="http://l4c.me/fullsize/clone3-1417412868.png">
</section>
<section>
<br>
<h3>GitHub Workflows</h3>
<br>
<p><b>1) Repositorios propios (Sólo YO)</b></p>
<br>
<p>- Ustedes son los dueños de su proyecto</p>
<p>- Si alguien decide participar, ustedes deciden si aceptan sus propuestas</p>
<p>- Sirve para guardar proyectos, regularmente personales.</p>
<BR>
<p>1) Crear un repositorio</p>
<p>2) Vincularlo con nuestra PC</p>
<p>3) Generar cambios y subirlos a GitHub</p>
</section>
<section>
<br>
<p>Subir cambios a GitHub</p>
<img src="http://l4c.me/fullsize/repospropios1-1417410698.png">
</section>
<section>
<br>
<p>Subir cambios a GitHub</p>
<img src="http://l4c.me/fullsize/repospropios2-1417410717.png">
</section>
<section>
<br>
<p>Subir cambios a GitHub</p>
<img src="http://l4c.me/fullsize/repospropios3-1417410732.png">
</section>
<section>
<br>
<p>Subir cambios a GitHub</p>
<img src="http://l4c.me/fullsize/repospropios4-1417410756.png">
</section>
<section>
<br>
<p>Subir cambios a GitHub</p>
<img src="http://l4c.me/fullsize/repospropios5-1417410777.png">
</section>
<section>
<br>
<p>Subir cambios a GitHub</p>
<img src="http://l4c.me/fullsize/repospropios6-1417410793.png">
</section>
<section>
<br>
<h3>Subir cambios a GitHub</h3>
<p>$ git init</p>
<p>$ git remote add origin [HTTPS or SSH]</p>
<p>$ git remote -v</p>
<p>Generamos cambios</p>
<p>$ git commit -am "[Mensaje]"</p>
<p>$ git push origin master</p>
</section>
<section>
<br>
<h3>2) Repositorios propios (Yo + mi equipo)</h3>
<br>
<p>- Es lo mismo que el proceso anterior.</p>
<p>- Todos los cambios que hagan nuestros colaboradores lo subirán al repositorio</p>
<p>- Es nuestra obligación, descargar los nuevos cambios antes y después de codificar.</p>
</section>
<section>
<br>
<p><b>Git Fetch & Git Merge</b></p>
<img SRC="http://l4c.me/fullsize/propios1-1417471255.png">
</section>
<section>
<br>
<p><b>Git Fetch & Git Merge</b></p>
<img SRC="http://l4c.me/fullsize/propios2-1417471273.png">
</section>
<section>
<br>
<p><b>Git Fetch & Git Merge</b></p>
<img SRC="http://l4c.me/fullsize/propios3-1417471286.png">
</section>
<section>
<br>
<p><b>Git Fetch & Git Merge</b></p>
<img SRC="http://l4c.me/fullsize/propios4-1417471304.png">
</section>
<section>
<br>
<p><b>Git Fetch & Git Merge</b></p>
<img SRC="http://l4c.me/fullsize/propios5-1417471320.png">
</section>
<section>
<br>
<p><b>Git Fetch & Git Merge</b></p>
<img SRC="http://l4c.me/fullsize/propios6-1417471356.png">
</section>
<section>
<br>
<p><b>Git Fetch & Git Merge</b></p>
<img SRC="http://l4c.me/fullsize/propios7-1417471379.png">
</section>
<section>
<br>
<p><b>Git Fetch & Git Merge</b></p>
<img SRC="http://l4c.me/fullsize/propios8-1417471393.png">
</section>
<section>
<br>
<p><b>Git Fetch & Git Merge</b></p>
<img SRC="http://l4c.me/fullsize/propios9-1417471413.png">
</section>
<section>
<br>
<p><b>Git Fetch & Git Merge</b></p>
<img SRC="http://l4c.me/fullsize/propios10-1417471425.png">
</section>
<section>
<br>
<p><b>Git Fetch & Git Merge</b></p>
<br>
<p>Creamos ó entramos a la carpeta de nuestro proyecto</p>
<p>$ git init (si apenas vamos a iniciar)</p>
<p>$ git remote add origin [HTTS or SSH]</p>
<p>$ git fetch origin</p>
<p>$ git merge origin/master</p>
<p>Hacen cambios</p>
<p>$ git fetch origin</p>
<p>$ git merge origin/master</p>
<p>$ git push origin master</p>
</section>
<section>
<br>
<h3>GitHub Workflows</h3>
<br>
<p><b>3) Repositorios "forked" (De 3º's, hay gestores)</b></p>
<br>
<p>- Ustedes no son los dueños pero quieren participar en el desarrollo.</p>
<p>- Los dueños del proyecto le dan la visión (que commits sí y que commits no)</p>
<p>- Todo esto a través del concepto de Pull Request (PR)</p>
</section>
<section>
<br>
<p><b>Repositorios "forked"</b></p>
<br>
<p>Necesitamos conectar 2 repositorios.</p>
<p>1) Su repositorio forked (el que se colocó en su cuenta de GitHub y son dueños)</p>
<p>2) El repositorio principal (no son dueños)</p>
</section>
<section>
<br>
<p><b>Repositorios "forked"</b></p>
<img src="http://l4c.me/fullsize/final1-1417476172.png">
</section>
<section>
<br>
<p><b>Repositorios "forked"</b></p>
<img src="http://l4c.me/fullsize/final2-1417476190.png">
</section>
<section>
<br>
<p><b>Repositorios "forked"</b></p>
<img src="http://l4c.me/fullsize/final3-1417476208.png">
</section>
<section>
<br>
<p><b>Repositorios "forked"</b></p>
<img src="http://l4c.me/fullsize/final4-1417476231.png">
</section>
<section>
<br>
<p><b>Repositorios "forked"</b></p>
<img src="http://l4c.me/fullsize/final6-1417476260.png">
</section>
<section>
<br>
<p><b>Repositorios "forked"</b></p>
<img src="http://l4c.me/fullsize/final7-1417476276.png">
</section>
<section>
<br>
<p><b>Ciclo final - Repositorios "forked"</b></p>
<img src="http://l4c.me/fullsize/final8-1417476301.png">
</section>
<section>
<p><b>Repositorios "forked"</b></p>
<br>
<p>La idea es:</p>
<p>- Siempre que vayamos a iniciar cambios, actualizarnos con el proyecto principal.</p>
<p>- Hacer nuestros cambios, experimentos, etc.</p>
<p>- Revisar nuevamente si no hubo cambios con el proyecto principal.</p>
<p>- Subir a nuestro forked repository todo lo que hemos hecho.</p>
<p>- Si queremos, crear un pull request para colaboración.</p>
</section>
<section>
<br>
<p><b>Repositorios "forked"</b></p>
<p>Crear ó entrar a la carpeta del proyecto</p>
<p>$ git remote add origin [HTTPS ó SSH del proyecto forked]</p>
<p>$ git remote add upstream [HTTPS ó SSH del proyecto "main"]</p>
<p>$ git fetch upstream</p>
<p>$ git merge origin/upstream</p>
<p>$ git fetch origin</p>
<p>$ git merge origin/master</p>
<p>Hacer cambios en local</p>
<p>$ git fetch upstream</p>
<p>$ git merge origin/upstream</p>
<p>$ git push origin master</p>
</section>
<section>
<br>
<p><b>Repositorios "forked"</b></p>
<br>
<p>Si queremos, realizamos un Pull Request al proyecto principal ("main")</p>
</section>
<!-- Clase 4 #mejorandogit -->
<section>
<img src="https://octodex.github.com/images/spidertocat.png" style="width: 310px;margin-top: 105px;box-shadow: none;border: none;">
<br>
<br>
<h1 style="font-size:31px">Manual Deployment + Project Management</h1><br>
<p>Git 2014</p>
</section>
<section>
Hidden ideas don't ship, have no influence, no intersection with the market. They die, <b>alone</b>.
<br>
<br>
Ideas don't need a passport, and often cross borders (of all kinds) with impunity.
<br>
<br>
<u>Show your ideas</u>
</section>
<section>
<br>
<h3>Roadmap</h3>
<img src="img/git-temario.png" />
</section>
<section>
<h3>Objetivo Principal</h3>
<br>
<p>- Subir nuestro portafolio a través de un GitHub Pages.</p>
<p>- Conocer el despliegue básico, utilizando GitHub, un servidor y SSH.</p>
<p>- Hacer un Flow de Issues para trabajo en equipo.</p>
</section>
<section>
<h3>Empecemos con el contexto</h3>
<br>
<p>1) Deployment.</p>
<p>2) Ambientes</p>
<p>3) GitHub Pages.</p>
<p>4) Manual Deployment</p>
</section>
<section>
<br>
<h3>1) Deployment</h3>
<br>
<br>