-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit_to_hell1.html
More file actions
1193 lines (1166 loc) ยท 61.9 KB
/
git_to_hell1.html
File metadata and controls
1193 lines (1166 loc) ยท 61.9 KB
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>
<head>
<meta charset="UTF-8">
<title>git to Hell</title>
<link rel="shortcut icon" href="logo.png">
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.4.0.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<!-- scroll -->
<link rel="stylesheet" href="jquery.mCustomScrollbar.css"/>
<link rel="stylesheet" href="mCSB_buttons.png"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="jquery.mCustomScrollbar.js"></script>
</head>
<style>
@import url('https://fonts.googleapis.com/css?family=Audiowide|Nanum+Myeongjo|Orbitron:700|Orbitron|Song+Myung|Syncopate|Nanum+Gothic|Lobster|Noticia+Text:700|Nanum+Gothic|Nanum+Myeongjo|Noto+Serif+KR|Oleo+Script&display=swap');
* {
text-decoration: none;
}
body {
background: url(space.jpg) repeat;
background-size: 20%;
}
.upBtn {
position: fixed;
bottom: 20px;
left: 12px;
border-radius: 50%;
opacity: 0.7;
z-index: 999;
box-shadow: 1px 2px 5px #000;
cursor: pointer;
cursor: pointer;
}
.leftMenu {
position: fixed;
bottom: 70px;
left: 12px;
border-radius: 50%;
opacity: 0.7;
z-index: 999;
box-shadow: 1px 2px 5px #000;
cursor: pointer;
}
.topmenu {
margin: 0 auto;
background: url(space.jpg) repeat;
background-size: 25%;
box-shadow: 1px 1px 5px #222;
}
hr {
width: 70%;
box-shadow: 0px 0px 1px #fff;
}
.scrl {
padding: 20px;
overflow: auto;
border-radius: 5px;
box-shadow: 0px 0px 15px #222;
}
.modal-scroll {
overflow: auto;
}
.scrollBar {
padding: 20px;
overflow: auto;
border-radius: 5px;
box-shadow: 0px 0px 15px #222;
}
.scrollBar-lg {
padding: 20px;
overflow: auto;
border-radius: 5px;
box-shadow: 0px 0px 15px #222;
}
h1 {
font-family: Lobster, serif;
text-shadow: 0px 0px 6px #eee;
}
h2, h3, h4, h5 {
font-family: Nanum Myeongjo, serif;
}
.endc {
cursor: pointer;
}
.endc:hover {
text-decoration: none;
color: white;
opacity: 0.7;
}
.contents {
background: #000;
color: #fff;
}
button, .modal-title, .modal-body a {
font-family: Nanum Gothic, serif;
}
.modal-body a {
color: #000;
font-size: 18px;
line-height: 190%;
}
.modal-body a:hover {
text-decoration: none;
opacity: 0.7;
}
p, li {
font-family: Nanum Gothic, serif;
font-size: 15px;
line-height: 200%;
}
.endCard {
display: none;
border-radius: 5px;
box-shadow: 0px 0px 15px #222;
}
</style>
<body>
<script>
$(function () {
//scroll
$(".scrl").mCustomScrollbar({
axis: "x",
theme: "light",
autoExpandScrollbar: true,
advanced: {autoExpandHorizontalScroll: true},
setWidth: "100%",
scrollButtons: {enable: true}
});
$(".modal-scroll").mCustomScrollbar({
axis: "y",
theme: "light",
autoExpandScrollbar: true,
advanced: {autoExpandHorizontalScroll: true},
setHeight: "400",
scrollButtons: {enable: true}
});
$(".scrollBar").mCustomScrollbar({
axis: "y",
theme: "3d-thick",
autoExpandScrollbar: true,
advanced: {autoExpandHorizontalScroll: true},
setWidth: "100%",
setHeight: 500,
scrollButtons: {enable: true}
});
$(".scrollBar-lg").mCustomScrollbar({
axis: "xy",
theme: "light",
autoExpandScrollbar: true,
advanced: {autoExpandHorizontalScroll: true},
setWidth: "100%",
setHeight: 500,
scrollButtons: {enable: true}
});
$('.upBtn').on("click", function () {
$('html, body').stop().animate({scrollTop: '0'});
});
$('.modal-body a').on('click', function () {
$('html, body').stop().animate({scrollTop: $($(this).attr('href')).offset().top - 30});
$(this).attr('data-dismiss', 'modal');
});
});
</script>
<!-- left menu-->
<span class="btn btn-dark leftMenu text-light" data-toggle="modal" data-target="#exampleModalCenter">
⌕
</span>
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog"
aria-labelledby="<exampleModalCent></exampleModalCent>erTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title font-weight-bold" id="exampleModalCenterTitle">๋ฉ๋ด ์ด๋</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body modal-scroll">
<ul>
<li><a href="#action1">1. git ์ค์นํ๊ธฐ</a></li>
<li><a href="#action2">2. path ์ค์ ํ๊ธฐ</a></li>
<li><a href="#action3">3. git ์คํํ๊ธฐ</a></li>
<li><a href="#action4">4. ๊ฒฝ๋ก ์ด๋ ๋ฐ ์ ์ฅ์ ์์ฑ</a></li>
<li><a href="#action5">5. ์ ์ฅ์ ์ค์ ํ ์ปค๋ฐํ๊ธฐ</a></li>
<li><a href="#action6">6. ๊ณ์ ์ค์ ํ๊ธฐ</a></li>
<li><a href="#action7">7. gitHub์์ ๋ฆฌํ์งํธ๋ฆฌ ๋ง๋ค๊ธฐ ๋ฐ ์ญ์ ํ๊ธฐ</a></li>
<li><a href="#action8">8. gitHub ๋ฆฌํ์งํธ๋ฆฌ์์ ํ์ผ ๋ด๋ ค๋ฐ๊ธฐ</a></li>
<li><a href="#action9">9. gitHub ๋ฆฌํ์งํธ๋ฆฌ์ ์
๋ฐ์ดํธํ ํ์ผ ์ฌ๋ฆฌ๊ธฐ</a></li>
<li><a href="#action10">10. ํ์
๋ฐฉ์</a></li>
<li style="list-style: none; text-indent:20px;">- Collaborator</li>
<li style="list-style: none; text-indent:20px;">- Pull Request</li>
<li><a href="#action11">11. Conflict ํด๊ฒฐํ๊ธฐ</a></li>
<li><a href="#action12">12. ๊ณ์ ๋ณ๊ฒฝํ๊ธฐ</a></li>
<li><a href="#action_last">ใ ๋จ์ถ๊ธฐ ๋ฐ ๊ธฐํ ๋ช
๋ น์ด ใ</a></li>
<li><a href="#action_last2">ใ ์ฌ๋ฏธ๋ก ํ๋ ์ฑํฅํ
์คํธ ใ</a></li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- button-->
<span class="btn btn-dark upBtn text-light">
↺
</span>
<!-- top menu-->
<div class="row topmenu text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto p-4">
<a href="https://backlog.com/git-tutorial/kr/stepup/stepup1_1.html" class="btn btn-outline-light btn-lg mr-2 mb-2"
target="_blank">Branch๋?</a>
<a href="https://ideone.com/" class="btn btn-outline-light btn-lg mr-2 mb-2" target="_blank">JAVA in Web</a>
<a href="https://www.w3schools.com/html/tryit.asp?filename=tryhtml_default"
class="btn btn-outline-light btn-lg mr-2 mb-2" target="_blank">HTML in Web</a>
<a href="https://github.com/ABarthDew/Git-to-Hell" class="btn btn-outline-light btn-lg mr-2 mb-2" target="_blank">์ ์์์
git</a>
</div>
</div>
<!-- main-->
<div class="container-fluid text-center pl-3 pr-3">
<div class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-5">
<h1 class="text-white titles display-1 p-3">Git to Hell</h1>
<hr>
</div>
</div>
<!-- action-->
<div id="action1" class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-3 my">
<h2 class="text-white font-weight-bold">1. git ์ค์นํ๊ธฐ</h2>
</div>
</div>
<div class="row text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-5">
<a href="https://git-scm.com" target="_blank" class="btn btn-outline-light btn-lg mb-4">git ๋ค์ด๋ก๋ go!</a>
<h3 class="text-white font-weight-bold">Download > Window > Downloading Git</h3>
<h4 class="text-white font-weight-bold mt-3">64-bit Git for Windows
<ins>Portable</ins>
๋ค์ด๋ก๋
</h4>
<h5 class="text-white mt-3">: ๊ฒฝ๋ก ์ง์ ํ ์ค์น๋ฅผ ์๋ฃํ์ธ์</h5>
<h5 class="text-white mt-3">:
<ins>PortableGit</ins>
์ด๋ผ๋ ํด๋๊ฐ ๋ง๋ค์ด์ง๋๋ค
</h5>
</div>
</div>
<!-- action-->
<div id="action2" class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-3 my">
<h2 class="text-white font-weight-bold">2. path ์ค์ ํ๊ธฐ</h2>
</div>
</div>
<div class="row mt-1 text-center pl-2 pr-2">
<div class="col-lg-8 col-md-10 col-sm-12 col-xs-12 mx-auto scrollBar-lg mb-5 my">
<div class="contents">
<img src="path.png">
</div>
</div>
</div>
<div class="row mt-1 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-5">
<h3 class="text-white font-weight-bold">๋ดpc ์ฐํด๋ฆญ > ์์ฑ > ๊ณ ๊ธ์์คํ
์ค์ > ํ๊ฒฝ๋ณ์ > path ํธ์ง</h3>
<h5 class="text-white mt-3">: path๋ฅผ ํด๋ฆญํ๊ณ ํธ์ง ๋ฒํผ์ ๋๋ฅด์ธ์</h5>
<h5 class="text-white mt-3">: ๋น์นธ์ Portable ๋ด
<ins>bin</ins>
ํด๋์ ๊ฒฝ๋ก๋ฅผ ์ฑ์๋ฃ๊ณ ์ ์ฉ์ ๋๋ฅด์ธ์
</h5>
</div>
</div>
<!-- action-->
<div id="action3" class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-3 my">
<h2 class="text-white font-weight-bold">3. git ์คํํ๊ธฐ</h2>
<h5 class="text-white mt-3">์๋์ฐ ๊ฒ์ > cmd๋ฅผ ์คํ ํ, "git"์ ์
๋ ฅํ์ธ์</h5>
<h5 class="text-white mt-3">*cmd ์ฐฝ์ ๋ช
๋ น์ด๋ฅผ ์
๋ ฅํ ๋๋ ๋์ด์ฐ๊ธฐ ๋ฑ์ ์ ์ง์ผ์ฃผ์
์ผ ํฉ๋๋ค</h5>
</div>
</div>
<div class="row mt-1 text-center">
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 mx-auto mb-3 my">
<div class="input-group mb-2">
<input type="text" class="form-control" value="git">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
</div>
</div>
<div class="row mt-1 text-center mb-5 pl-2 pr-2">
<div class="col-lg-6 col-md-8 col-sm-12 col-xs-12 mx-auto scrollBar mb-5 my">
<div class="contents" style="text-align:left;">
<h6 class="text-secondary">C:\Users\user1>git</h6>
These are common Git commands used in various situations:<br>
start a working area (see also: git help tutorial)<br>
clone Clone a repository into a new directory<br>
init Create an empty Git repository or reinitialize an existing one<br>
work on the current change (see also: git help everyday)<br>
add Add file contents to the index<br>
mv Move or rename a file, a directory, or a symlink<br>
reset Reset current HEAD to the specified state<br>
rm Remove files from the working tree and from the index<br>
examine the history and state (see also: git help revisions)<br>
bisect Use binary search to find the commit that introduced a bug<br>
grep Print lines matching a pattern<br>
log Show commit logs<br>
show Show various types of objects<br>
status Show the working tree status<br>
grow, mark and tweak your common history<br>
branch List, create, or delete branches<br>
checkout Switch branches or restore working tree files<br>
commit Record changes to the repository<br>
diff Show changes between commits, commit and working tree, etc<br>
merge Join two or more development histories together<br>
rebase Reapply commits on top of another base tip<br>
tag Create, list, delete or verify a tag object signed with GPG<br>
collaborate (see also: git help workflows)<br>
fetch Download objects and refs from another repository<br>
pull Fetch from and integrate with another repository or a local branch<br>
push Update remote refs along with associated objects<br>
'git help -a' and 'git help -g' list available subcommands and some<br>
to read about a specific subcommand or concept.<br>
....brah brah brah...<br>
<h6 class="text-secondary">C:\Users\user1></h6>
</div>
</div>
</div>
<!-- action-->
<div id="action4" class="row my text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-2 my">
<h2 class="text-white font-weight-bold">4. ๊ฒฝ๋ก ์ด๋ ๋ฐ ์ ์ฅ์ ์์ฑ</h2>
</div>
</div>
<div class="row my text-center p-5">
<div class="col-lg-4 col-md-5 col-sm-12 col-xs-12 mx-auto pl-4 pr-4 mb-3 my">
<div class="input-group mb-3">
<input type="text" class="form-control" value="d:">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">d๋๋ผ์ด๋ธ๋ก ๊ฒฝ๋ก๋ฅผ ์ด๋ํฉ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="cd HelloGit">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">d๋๋ผ์ด๋ธ ๋ด ํด๋๋ก ์ด๋ํ๋ ค๋ฉด ํด๋ ์ด๋ฆ ์์ cd ๋ฅผ ์๋๋ค</p>
<p class="text-white">(๋๋ผ์ด๋ธ์ ํด๋ ์ด๋ ๋ฐฉ๋ฒ์ด ๊ฐ๊ฐ ๋ค๋ฆ์ ์ธ์งํ์ธ์)</p>
<p class="text-white">์์ ํด๋๋ก ๊ฐ๋ ค๋ฉด "cd .."๋ผ๊ณ ์
๋ ฅํฉ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="mkdir HelloGit">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">d ๋๋ผ์ด๋ธ ๋ด HelloGit์ด๋ผ๋ ์ด๋ฆ์ ํด๋๋ฅผ ์๋ก ๋ง๋ญ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="dir">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">HelloGit ํด๋์ ์ ๋ณด๋ฅผ ์ถ๋ ฅํฉ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="cd HelloGit">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">HelloGit ํด๋๋ก ์ง์
ํฉ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="copy nul exam01.txt">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">exam01์ด๋ผ๋ txt ํ์ผ์ ์์ฑํฉ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="exam01.txt">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">exam01.txt๋ฅผ ์คํํฉ๋๋ค</p>
<p class="text-white">์คํํ ํ์ผ์ "test1" ์ด๋ผ๊ณ ์
๋ ฅํ ํ, txtํ์ผ์ ์ข
๋ฃํฉ๋๋ค</p>
<p class="text-white">๋ค์ dir์ ์
๋ ฅํ๋ฉด 0์ด๋ ํ์ผ ์ฉ๋์ด ๋ฌ๋ผ์ง ๊ฒ์ ํ์ธํ ์ ์์ต๋๋ค</p>
</div>
<div class="col-lg-8 col-md-7 col-sm-12 col-xs-12 mx-auto scrollBar mr-4 mb-3 my">
<div class="contents" style="text-align:left;">
<h6 class="text-secondary">C:\Users\user1>d:</h6>
<br>
<h6 class="text-secondary">D:\>mkdir HelloGit</h6>
<br>
<h6 class="text-secondary">D:\>dir</h6>
D ๋๋ผ์ด๋ธ์ ๋ณผ๋ฅจ: BACKUP<br>
๋ณผ๋ฅจ ์ผ๋ จ ๋ฒํธ: 805E-6908<br>
<br>
<h6 class="text-secondary">D:\>cd HelloGit</h6>>
<br>
<h6 class="text-secondary">D:\HelloGit>dir</h6>
D ๋๋ผ์ด๋ธ์ ๋ณผ๋ฅจ: BACKUP<br>
๋ณผ๋ฅจ ์ผ๋ จ ๋ฒํธ: 805E-6908<br>
<br>
D:\HelloGit ๋๋ ํฐ๋ฆฌ<br>
<br>
2019-06-12 ์คํ 04:06 DIR .<br>
2019-06-12 ์คํ 04:06 DIR ..<br>
0๊ฐ ํ์ผ 0 ๋ฐ์ดํธ<br>
2๊ฐ ๋๋ ํฐ๋ฆฌ 348,361,797,632 ๋ฐ์ดํธ ๋จ์<br>
<br>
<h6 class="text-secondary">D:\HelloGit>copy nul exam01.txt</h6>
1๊ฐ ํ์ผ์ด ๋ณต์ฌ๋์์ต๋๋ค.<br>
<br>
<h6 class="text-secondary">D:\HelloGit>exam01.txt</h6>
<br>
<h6 class="text-secondary">D:\HelloGit>dir</h6>
D ๋๋ผ์ด๋ธ์ ๋ณผ๋ฅจ: BACKUP<br>
<br>
D:\HelloGit ๋๋ ํฐ๋ฆฌ<br>
<br>
2019-06-12 ์คํ 04:07 DIR .<br>
2019-06-12 ์คํ 04:07 DIR ..<br>
2019-06-12 ์คํ 04:07 5 exam01.txt<br>
1๊ฐ ํ์ผ 5 ๋ฐ์ดํธ<br>
2๊ฐ ๋๋ ํฐ๋ฆฌ 348,361,797,632 ๋ฐ์ดํธ ๋จ์<br>
</div>
</div>
</div>
<!-- action-->
<div id="action5" class="row my text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto my">
<h2 class="text-white font-weight-bold mb-4">5. ์ ์ฅ์ ์ค์ ํ ์ปค๋ฐํ๊ธฐ</h2>
<h5 class="text-white mt-3">git์ ์์ ํ ํ์ผ์ Repository์ ์ฌ๋ฆฌ๊ธฐ ์ ์ ์ค๊ฐ ์ ์ฅ์์ ์ฌ๋ฆฌ๋๋ฐ, ์ด ๊ณผ์ ์ staging์ด๋ผ๊ณ ํฉ๋๋ค</h5>
<h5 class="text-white mt-3">์ฆ, ์ปค๋ฐ์ ํ๊ธฐ ์ ์ stage๋ผ๋ ๊ณต๊ฐ์ ์ปค๋ฐํ ๋์๋ค์ ์์์ ์ฅํ๋ ๊ฒ๋๋ค</h5>
<h5 class="text-white mt-3">์๋ cmd ์ฐฝ์ git status๋ฅผ ํ๋ฉด ๋ํ๋๋
<ins>๋ถ์ ๊ธ์จ๋ก ์ถ๋ ฅ๋ ํ์ผ</ins>
๋ค์ ๋งํฉ๋๋ค
</h5>
<h5 class="text-white mt-3">'์ด ํ์ผ๋ค์ ์ปค๋ฐํด์ผ ํฉ๋๋ค'๋ผ๊ณ ์๋ ค์ฃผ๋ ๊ฒ๊ณผ ๊ฐ์ต๋๋ค</h5>
</div>
</div>
<div class="row my text-center pt-5 pr-5 pl-5 pb-2">
<div class="col-lg-4 col-md-5 col-sm-12 col-xs-12 mx-auto pl-4 pr-4 mb-3 my">
<div class="input-group mb-3">
<input type="text" class="form-control" value="git init">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">ํ์ฌ ์์น(HelloGit)๋ฅผ git ์ ์ฅ์๋ก ์ค์ ํฉ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git status">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">git ์ ์ฅ์๋ก ์ค์ ๋ HelloGit ํด๋์ ํ์ฌ ์ํ๋ฅผ ์ถ๋ ฅํฉ๋๋ค</p>
<p class="text-white">์ต๊ทผ ์์ ํ exam01.txt๊ฐ ๋ถ์์์ผ๋ก ํ์๋๋ ๊ฒ์ ํ์ธํ ์ ์์ต๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git add exam01.txt">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">์์ ํ ํ์ผ์ธ exam01.txt๋ฅผ ์ ์ ์ฅ์ํต๋๋ค</p>
<p class="text-white">์๋์ด ๋ง์ ๊ฒฝ์ฐ git add * ๋ผ๋ ๋ช
๋ น์ด๋ก ํ๊บผ๋ฒ์ ์ ์ฅ์ํฌ ์ ์์ต๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git commit -m 'file added 19.6.13'">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">์ปค๋ฐ์ ์งํํฉ๋๋ค</p>
<p class="text-white">'file added 19.6.13'์ ๊ธฐ๋ก์ฉ์ด๋ฏ๋ก ๋ง์๋๋ก ๊ธฐ์ฌํด๋ ๋ฉ๋๋ค</p>
<p class="text-white">์ด ๊ณผ์ ์ ๋๋ธ ํ ๋ค์ git status๋ฅผ ์
๋ ฅํ๋ฉด 'nothing to commit, working tree clean'๋ผ๊ณ ์ถ๋ ฅ๋๋ ๊ฒ์ ํ์ธํ ์
์์ต๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git log">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">๋ก๊ทธ๋ฅผ ํ์ธํ๋ฉด, ์ซ์์ ์ํ๋ฒณ์ผ๋ก ์ด๋ฃจ์ด์ง ์ฝ๋๋ฅผ ๊ฐ์ง ๋ก๊ทธ๊ฐ ์์ฑ๋ ๊ฒ์ ํ์ธํ ์ ์์ต๋๋ค</p>
</div>
<div class="col-lg-8 col-md-7 col-sm-12 col-xs-12 mx-auto scrollBar mr-4 my">
<div class="contents" style="text-align:left;">
<p class="text-secondary">D:\HelloGit>git init</p>
Initialized empty Git repository in D:/HelloGit/.git/<br>
<br>
<p class="text-secondary">D:\HelloGit>git status</p>
On branch master<br>
<br>
No commits yet<br>
<br>
Untracked files:<br>
(use "git add file..." to include in what will be committed)<br>
<br>
<p class="text-danger">exam01.txt</p>
<br>
nothing added to commit but untracked files present (use "git add" to track)<br>
<br>
<p class="text-secondary">D:\HelloGit>git add exam01.txt</p>
<br>
<p class="text-secondary">D:\HelloGit>git commit -m "file added 19.6.13"</p>
[master (root-commit) 4d6ebc3] file added 19.6.13<br>
1 file changed, 1 insertion(+)<br>
create mode 100644 exam01.txt<br>
<br>
<p class="text-secondary">D:\HelloGit>git status</p>
On branch master<br>
nothing to commit, working tree clean<br>
<br>
<p class="text-secondary">D:\HelloGit>git log</p>
<span style="color:#bfff00;">commit 4debc3220267bcd1296adf4544b</span> <span style="color:#dc143c;">(HEAD -> master)</span><br>
<p class="text-secondary">"4debc3220267bcd1296adf4544b"๋ log์ ํค๊ฐ์
๋๋ค</p>
<p class="text-secondary">์๋ณ์ ํ ๋๋ "4debc3"์ ๊ฐ์ด ์ 6๊ธ์๋ง ์ถ๋ ค๋ ๊ฐ๋ฅํฉ๋๋ค</p>
Author: 000 000@gmail.com<br>
Date: Thu Jun 13 00:07:48 2019 +0900<br>
<br>
file added 19.6.13
</div>
</div>
</div>
<!-- action-->
<div id="action6" class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-5 my">
<h2 class="text-white font-weight-bold">6. ๊ณ์ ์ค์ ํ๊ธฐ</h2>
</div>
</div>
<div class="row text-center pl-2 pr-2">
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 mx-auto scrollBar mb-5 my">
<div class="input-group mb-3">
<input type="text" class="form-control" value="git config --global user.email '๋ด ์ด๋ฉ์ผ'">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">์์ด๋๋ฅผ ์
๋ ฅํฉ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git config --global user.name '์ด๋ฆ'">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">์ ์ ๋ค์์ ์
๋ ฅํฉ๋๋ค(์๋ฌด๊ฑฐ๋ ์
๋ ฅํด๋ ๋ฉ๋๋ค)</p>
<div class="contents" style="text-align:center;"><br>
<p class="text-white">๊ทธ๋ฆฌ๊ณ ์๋ ํ๋ฉด์ด ๋จ๋ฉด ๋ก๊ทธ์ธ ํฉ๋๋ค</p>
<img src="gitLogin.png"><br><br>
<div class="contents" style="text-align:left;">
<p class="text-secondary">D:\HelloGit>git config --global user.email "00@gmail.com"</p>
<p class="text-secondary">D:\HelloGit>git config --global user.name "000"</p><br>
</div>
</div>
</div>
</div>
<!-- action-->
<div id="action7" class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-5 my">
<h2 class="text-white font-weight-bold">7. gitHub์์ ๋ฆฌํ์งํธ๋ฆฌ ๋ง๋ค๊ธฐ ๋ฐ ์ญ์ ํ๊ธฐ</h2>
<a href="https://github.com" target="_blank" class="btn btn-outline-light btn-lg mt-4">gitHub go!</a>
</div>
</div>
<div class="row mt-1 text-center pl-2 pr-2">
<div class="col-lg-8 col-md-10 col-sm-12 col-xs-12 mx-auto scrollBar-lg mb-5 my">
<div class="contents" style="text-align:left;">
<img src="r1.png"><br>
<p class="text-white">๋ฆฌํ์งํธ๋ฆฌ ๋ฉ๋ด๋ฅผ ํด๋ฆญํฉ๋๋ค</p><br>
<img src="r2.png"><br>
<p class="text-white">new๋ฅผ ๋๋ฌ ์ ๋ฆฌํ์งํธ๋ฆฌ๋ฅผ ๋ง๋ญ๋๋ค</p><br>
<img src="r3.png"><br>
<p class="text-white">๋ฆฌํ์งํธ๋ฆฌ ์ด๋ฆ์ ์ฐ๊ณ , README๋์ ์ฒดํฌํ๊ณ , ์์ฑ ๋ฒํผ์ ๋๋ฆ
๋๋ค</p><br>
<img src="r4.png"><br>
<p class="text-white">์๋์ฒ๋ผ ๋ง๋ค์ด์ง ๋ฆฌํ์งํธ๋ฆฌ๋ฅผ ํ์ธํ ์ ์์ต๋๋ค</p><br>
<img src="r5.png"><br>
<p class="text-white">์ด ๋ฆฌํ์งํธ๋ฆฌ๋ฅผ ์ญ์ ํ๋ ค๋ฉด setting ๋ฉ๋ด๋ฅผ ๋๋ฆ
๋๋ค</p><br>
<img src="r6.png"><br>
<p class="text-white">๋งจ ์๋๋ก ๋ด๋ ค์ Delete๋ฒํผ์ ํด๋ฆญํฉ๋๋ค</p><br>
<img src="r7.png"><br>
<p class="text-white">๋ฆฌํ์งํธ๋ฆฌ ์ด๋ฆ์ ์ ํํ ๊ธฐ์ฌํ ํ ์ญ์ ๋ฒํผ์ ๋๋ฆ
๋๋ค</p><br>
</div>
</div>
</div>
<!-- action-->
<div id="action8" class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-4 my">
<h2 class="text-white font-weight-bold mb-4">8. gitHub ๋ฆฌํ์งํธ๋ฆฌ์์ ํ์ผ ๋ด๋ ค๋ฐ๊ธฐ</h2>
<h5 class="text-white mt-3">โป๋ณดํต ๋ฆฌํ์งํธ๋ฆฌ๋ฅผ ๋ง๋ค๊ณ ๋ด pc์ ์ ์ฅํ๋ ์์๋ ์ด๋ ๊ฒ ํ๋ฌ๊ฐ๋๋ค</h5>
<h5 class="text-white mt-3">โ gitHub.com์์ ๋ฆฌํ์งํธ๋ฆฌ๋ฅผ ๋ง๋ ๋ค</h5>
<h5 class="text-white mt-3">โกcmd ์ฐฝ์ ์ผ์ clone ๋๋ pull์ ์ฌ์ฉํด์ ๋ฆฌํ์งํธ๋ฆฌ๋ฅผ ๋ด๋ ค๋ฐ๋๋ค</h5>
<h5 class="text-white mt-3">โข๋ด๋ ค๋ฐ์ ํ์ผ์ ์์ ํ๋ค</h5>
<h5 class="text-white mt-3">โฃcmd๋ฅผ ์ผ์ git add, git commit ๋ฑ์ ์ํํ๋ค</h5>
<h5 class="text-white mt-3">โคpush๋ฅผ ์ฌ์ฉํด ๋ฆฌํ์งํธ๋ฆฌ๋ฅผ ์
๋ฐ์ดํธํ๋ค</h5>
<h5 class="text-white mt-5 font-weight-bold">๋จผ์ ๋ฆฌํ์งํธ๋ฆฌ๋ฅผ ๋ด๋ ค๋ฐ์ ๋ด pc์ ์ ์ฅํ๋ ๋ฐฉ๋ฒ ๋ถํฐ ์์๋ณด๊ฒ ์ต๋๋ค</h5>
<h5 class="text-white mt-3">1. ํ์ผ ๋ณต์ ํ๊ธฐ(์ต์ด 1ํ๋ง) : clone</h5>
<h5 class="text-white mt-3">2. ํ์ผ ๋ด๋ ค๋ฐ๊ธฐ(์ต์ด 1ํ ์ดํ ๋ณดํต ๋ฐฉ์) : pull</h5>
</div>
</div>
<div class="row text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-3 my">
<h5 class="text-white mt-1 font-weight-bold">โป์ฉ์ด ์ ๋ฆฌ </h5>
<h5 class="text-white mt-2">clone : ํต์งธ๋ก ๋ฐ์์ ์ด๊ธฐํ์ํค๋ ํ์(์ด๊ธฐ 1ํ๋ง ์คํ)</h5>
<h5 class="text-white mt-2">pull : ๋ค์ด๋ก๋ ๋ช
๋ น(์ต์ ๊ฐฑ์ ๋ ๋ด์ฉ์ ๊ฐ์ ธ์ค๋ ๊ฒ)</h5>
<h5 class="text-white mt-2">fetch : ์๋ฒ์์ ๋ฐ์ดํฐ๋ฅผ ๋ค์ด๋ฐ๋ ํ์(์์๋ธ๋์น์ ๊ฐ์ ธ์ค๋ ๊ฒ)</h5>
<h5 class="text-white mt-2">merge : ๊ฐ์ ธ์จ ๋ค์ ํ์ฌ ๋ธ๋์น์ ๋ณํฉํ๋ ๊ฒ</h5>
<h5 class="text-white mt-2">(fetch + merge = pull)</h5>
</div>
</div>
<div class="row text-center p-2">
<div class="col-lg-6 col-md-8 col-sm-10 col-xs-12 mx-auto scrl my"><br>
<img src="rp1.png">
<p class="text-white">๋ฆฌํ์งํธ๋ฆฌ์ ์ฃผ์๋ฅผ ๋ณต์ฌํฉ๋๋ค</p>
</div>
</div>
<div class="row my text-center pt-5 pr-5 pl-5 pb-2">
<div class="col-lg-4 col-md-5 col-sm-12 col-xs-12 mx-auto pl-4 pr-4 mb-3 my">
<div class="input-group mb-3">
<input type="text" class="form-control" value="git clone ๋ฆฌํ์งํธ๋ฆฌ์ฃผ์.git">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">cmd์ฐฝ์์ ํ์ผ์ ๋ฐ์ ๊ฒฝ๋ก๋ก ์ด๋ํ ํ, ํด๋น ๋ช
๋ น์ด๋ฅผ ์
๋ ฅํฉ๋๋ค</p>
<p class="text-white">clone ์๋ฆฌ์ pull์ด ๋ค์ด๊ฐ๋ ๋ฌด๋ฐฉํ๋, ์ต์ด ๋ค์ด๋ก๋๋ฅผ ํ ๋๋ clone์ด ๋ ํธ๋ฆฌํฉ๋๋ค</p>
<p class="text-white">pull์ ๋ฐ๋ก ํด๋๋ฅผ ๋ง๋ค์ด ๋๊ณ ๋ค์ด๋ก๋ ํด์ผ ํ์ง๋ง, clone์ ํด๋ ์งธ๋ก ๋ณต์ ๋๊ธฐ ๋๋ฌธ์
๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git init">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">๋ด๋ ค๋ฐ์ ๋ฆฌํ์งํธ๋ฆฌ(ํด๋)์ ๊ฒฝ๋ก๋ก ์ด๋ํด, ํด๋น ํด๋๋ฅผ ์ ์ฅ์๋ก ์ ์ธํฉ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="copy nul exam02.txt">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">exam02.txt๋ผ๋ ์์ ํด๋๋ฅผ ๋ง๋ค์ด ์์ ์์
์ ํด ๋ด
๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git status">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">์ํ๋ฅผ ํ์ธํ๋ฉด, ์ปค๋ฐํด์ผ ํ ๋ชฉ๋ก์ด ๋น๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git add *">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">์คํ
์ด์ง ํฉ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git commit -m '19.6.13'">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">์ปค๋ฐํฉ๋๋ค</p>
</div>
<div class="col-lg-8 col-md-7 col-sm-12 col-xs-12 mx-auto scrollBar mr-4 my">
<div class="contents" style="text-align:left;">
<p class="text-secondary">C:\Users\auswo>cd C:\Test</p>
<br>
<p class="text-secondary">C:\Test>git clone https://github.com/zzz/Git-to-Hell.git</p>
Cloning into 'Git-to-Hell'...<br>
remote: Enumerating objects: 15, done.<br>
remote: Counting objects: 100% (15/15), done.<br>
remote: Compressing objects: 100% (10/10), done.<br>
remote: Total 15 (delta 0), reused 12 (delta 0), pack-reused 0<br>
Unpacking objects: 100% (15/15), done.<br>
<br>
<p class="text-secondary"> C:\Test\Git-to-Hell>git init</p>
Initialized empty Git repository in C:Test\Git-to-Hell.git/<br>
<br>
<p class="text-secondary">C:\Test\Git-to-Hell>copy nul exam02.txt</p>
1๊ฐ ํ์ผ์ด ๋ณต์ฌ๋์์ต๋๋ค.<br>
<br>
<p class="text-secondary"> C:\Test\Git-to-Hell>exam02.txt</p>
<br>
<p class="text-secondary"> C:Test\Git-to-Hell>git status</p>
On branch master<br>
<br>
No commits yet<br>
<br>
Untracked files:<br>
(use "git add file..." to include in what will be committed)<br>
<br>
<p class="text-danger">exam02.txt</p>
<br>
nothing added to commit but untracked files present (use "git add" to track)<br>
<br>
<p class="text-secondary">C:Test\Git-to-Hell>git add *</p>
<br>
<p class="text-secondary">C:Test\Git-to-Hell>git commit -m "19.6.13"</p>
[master (root-commit) 3f6f60d] 19.6.13<br>
1 file changed, 1 insertion(+)<br>
create mode 100644 exam02.txt<br>
</div>
</div>
</div>
<!-- action-->
<div id="action9" class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto my">
<h2 class="text-white font-weight-bold mb-4">9. gitHub ๋ฆฌํ์งํธ๋ฆฌ์ ์
๋ฐ์ดํธํ ํ์ผ ์ฌ๋ฆฌ๊ธฐ</h2>
<h5 class="text-white mt-3">์์ ์ฌํญ์ ์ปค๋ฐํ ํ ๋ฆฌํ์งํธ๋ฆฌ์ ์ฌ๋ฆฌ๋ ค๋ฉด pull์ ๋จผ์ ์ํํด์ผ ํฉ๋๋ค</h5>
<h5 class="text-white mt-3">๊ทธ ์ ์, remote๋ฅผ ์์ฑํฉ๋๋ค</h5>
<h5 class="text-white mt-3">clone์ ํ๋ฉด ๋ณดํต origin์ด๋ผ๋ ์ด๋ฆ์ผ๋ก ์๋์์ฑ๋์ง๋ง, ํ์ธ ๋ช
๋ น์ด๋ก ๋ฆฌ๋ชจํธ ํ์ธ ํ ๋จ๊ณ๋ฅผ ์งํํด ๋๊ฐ๋ ์ต๊ด์ ๋ค์ด์๊ธฐ ๋ฐ๋๋๋ค</h5>
</div>
</div>
<div class="row mt-4 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-3 my">
<h5 class="text-white mt-1 font-weight-bold">โปํ์ผ์ pushํ๊ธฐ ์ ์ .gitignore ํ์ฅ์๋ฅผ ๊ฐ์ง๋ ํ์ผ์ ์์ฑ, </h5>
<h5 class="text-white mt-3 font-weight-bold">์๋ ๋ชฉ๋ก์ ๊ทธ๋๋ก ๋ณต์ฌํด ๋ฃ์ ํ ํด๋น ํด๋์ ๋ฐฐ์น์ํต๋๋ค</h5>
<h5 class="text-white mt-2">.classpath</h5>
<h5 class="text-white mt-2">.project</h5>
<h5 class="text-white mt-2">.settings</h5>
<h5 class="text-white mt-2">.class</h5>
<h5 class="text-white mt-2">build</h5>
<h5 class="text-white mt-3">ํด๋น ์์
์ ์ดํด๋ฆฝ์ค ๋ฑ ์์ฒด path๋ฅผ ๊ฐ์ง๋ IDE ์ฌ์ฉ์์ ํํด์ ์ด๋ค์ ธ์ผ ํฉ๋๋ค</h5>
</div>
</div>
<div class="row my text-center pt-3 pr-5 pl-5 pb-2">
<div class="col-lg-4 col-md-5 col-sm-12 col-xs-12 mx-auto pl-4 pr-4 mb-3 my">
<div class="input-group mb-3">
<input type="text" class="form-control" value="git remote -v">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">์์ฑ๋ ๋ฆฌ๋ชจํธ ๋ชฉ๋ก๋ค์ ํ์ธํฉ๋๋ค</p>
<p class="text-white">๋ฆฌ๋ชจํธ๋ ๋ณต์๋ก ์์ฑ๋ ์ ์์ผ๋ฉฐ, ๊ฐ๊ฐ ๋ค๋ฅธ ๊ณ์ ์ ์ฐ๊ฒฐ ๊ฐ๋ฅํฉ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git remote add (๋ฆฌ๋ชจํธ ์ด๋ฆ) (๋ด ๋ฆฌํ์งํธ๋ฆฌ ์ฃผ์).git">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">๋ฆฌ๋ชจํธ๊ฐ ์๋ค๋ฉด ๋ฆฌ๋ชจํธ๋ฅผ ์์ฑํฉ๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git pull origin master">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">pull ๊ณผ์ ์ ๊ฑฐ์น์ง ์๊ณ push๋ฅผ ํ๋ฉด ์ค๋ฅ๊ฐ ๋๊ธฐ ๋๋ฌธ์, ๋ง์คํฐ ๋ธ๋์น๋ฅผ ๋์ด์ค๋ ๊ณผ์ ์ ๊ฑฐ์นฉ๋๋ค</p>
<p class="text-white">origin์ ๋ฆฌ๋ชจํธ ์ด๋ฆ์ด๋ฉฐ, ๊ผญ origin์ด์ด์ผ ํ ํ์๋ ์์ต๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git pull origin master --allow-unrelated-histories">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">์ด ๊ณผ์ ์์ ์ข
์ข
'fatal: refusing to merge unrelated histories' ์ค๋ฅ๊ฐ ๋ฐ ์ ์์ต๋๋ค</p>
<p class="text-white">์์ ์ฌํญ ๋ณํฉ ์ค๋ฅ์ธ๋ฐ, ๊ฐ๋จํ '--allow-unrelated-histories' ๋ผ๋ ๊ฐ์ ๋ช
๋ น์ด๋ก ๋ณํฉํด ์ค๋๋ค</p>
<div class="input-group mb-3">
<input type="text" class="form-control" value="git push origin master">
<div class="input-group-append">
<button class="btn btn-outline-light" type="button" id="button-addon2">๋ณต์ฌํ๊ธฐ</button>
</div>
</div>
<p class="text-white">pull์ด ๋๋๋ฉด pushํด ์ค๋๋ค</p>
</div>
<div class="col-lg-8 col-md-7 col-sm-12 col-xs-12 mx-auto scrollBar mr-4 my">
<div class="contents" style="text-align:left;">
<p class="text-secondary">C:\Users\Test\HelloGit>git push https://github.com/000/Git-to-Hell.git</p>
<p class="text-secondary">//๋ฌด์์ pushํด์ ์คํจํ ๊ฒฐ๊ณผ์
๋๋ค</p>
fatal: The current branch master has no upstream branch.<br>
To push the current branch and set the remote as upstream, use<br>
<br>
git push --set-upstream https://github.com/000/Git-to-Hell.git master<br>
<br>
<p class="text-secondary">C:\Users\Test\HelloGit>git remote add origin
https://github.com/000/Git-to-Hell.git</p>
<p class="text-secondary">//๋ฆฌ๋ชจํธ๋ฅผ ์์ฑํฉ๋๋ค</p>
<br>
<p class="text-secondary"> C:\Users\Test\HelloGit>git remote -v</p>
<p class="text-secondary">๋ฆฌ๋ชจํธ ๋ชฉ๋ก์ ํ์ธํฉ๋๋ค</p>
origin https://github.com/000/Git-to-Hell.git (fetch)<br>
origin https://github.com/000/Git-to-Hell.git (push)<br>
<br>
C:\Users\Test\HelloGit>git remote origin master<br>
error: Unknown subcommand: origin<br>
usage: git remote [-v | --verbose]<br>
or: git remote add [-t branch>] [-m master>] [-f] [--tags | --no-tags] [--mirror=fetch|push>] name> url><br>
or: git remote rename old> new><br>
or: git remote remove name><br>
or: git remote set-head name> (-a | --auto | -d | --delete | branch>)<br>
or: git remote [-v | --verbose] show [-n] name><br>
or: git remote prune [-n | --dry-run] name><br>
or: git remote [-v | --verbose] update [-p | --prune] [(group> | remote>)...]<br>
or: git remote set-branches [--add] name> branch>...<br>
or: git remote get-url [--push] [--all] name><br>
or: git remote set-url [--push] name> newurl> [oldurl>]<br>
or: git remote set-url --add name> newurl><br>
or: git remote set-url --delete name> url><br>
<br>
-v, --verbose be verbose; must be placed before a subcommand
<br>
<p class="text-secondary"> C:\Users\Test\HelloGit>git pull origin master</p>
<p class="text-secondary">//pull์ ์๋ํ์ง๋ง ๋ณํฉ ์ค๋ฅ๊ฐ ์ถ๋ ฅ๋ฉ๋๋ค</p>
warning: no common commits<br>
remote: Enumerating objects: 15, done.<br>
remote: Counting objects: 100% (15/15), done.<br>
remote: Compressing objects: 100% (10/10), done.<br>
remote: Total 15 (delta 0), reused 12 (delta 0), pack-reused 0<br>
Unpacking objects: 100% (15/15), done.<br>
From https://github.com/000/Git-to-Hell<br>
* branch master -> FETCH_HEAD<br>
* [new branch] master -> origin/master<br>
fatal: refusing to merge unrelated histories<br>
<br>
<p class="text-secondary">C:\Users\Test\HelloGit>git pull origin master --allow-unrelated-histories</p>
<p class="text-secondary">--allow-unrelated-histories๋ก ๊ฐ์ ๋ณํฉํด ์ค๋๋ค</p>
From https://github.com/000/Git-to-Hell<br>
* branch master -> FETCH_HEAD<br>
Merge made by the 'recursive' strategy.<br>
.gitignore | 6 +<br>
README.md | 1 +<br>
WebContent/META-INF/MANIFEST.MF | 3 +<br>
WebContent/git_to_hell.html | 354 +++++<br>
WebContent/jquery.mCustomScrollbar.css | 1267 ++++++++++++++++<br>
WebContent/jquery.mCustomScrollbar.js | 2458 ++++++++++++++++++++++++++++++++<br>
WebContent/mCSB_buttons.png | Bin 0 -> 2998 bytes<br>
WebContent/path.png | Bin 0 -> 81455 bytes<br>
WebContent/space.jpg | Bin 0 -> 44338 bytes<br>
9 files changed, 4089 insertions(+)<br>
create mode 100644 .gitignore<br>
create mode 100644 README.md<br>
create mode 100644 WebContent/META-INF/MANIFEST.MF<br>
create mode 100644 WebContent/git_to_hell.html<br>
create mode 100644 WebContent/jquery.mCustomScrollbar.css<br>
create mode 100644 WebContent/jquery.mCustomScrollbar.js<br>
create mode 100644 WebContent/mCSB_buttons.png<br>
create mode 100644 WebContent/path.png<br>
create mode 100644 WebContent/space.jpg<br>
<p class="text-secondary">์ด์ pushํด๋ ๋๋ ์ํ๊ฐ ๋์์ต๋๋ค</p>
<br>
<p class="text-secondary"> C:\Users\Test\HelloGit>git push origin master</p>
<p class="text-secondary">ํด๋น ๋ฆฌ๋ชจํธ์ ํ์ผ์ pushํฉ๋๋ค</p>
Enumerating objects: 6, done.<br>
Counting objects: 100% (6/6), done.<br>
Delta compression using up to 2 threads<br>
Compressing objects: 100% (3/3), done.<br>
Writing objects: 100% (5/5), 515 bytes | 57.00 KiB/s, done.<br>
Total 5 (delta 1), reused 0 (delta 0)<br>
remote: Resolving deltas: 100% (1/1), completed with 1 local object.<br>
<p class="text-secondary">gitHub.com์ ๋ณธ์ธ ๋ฆฌํ์งํธ๋ฆฌ์ ๊ฐ์ ํ์ผ์ด ๋ชจ๋ ์
๋ฐ์ดํธ ๋์์์ ํ์ธํ ์ ์์ต๋๋ค</p>
</div>
</div>
</div>
<!-- action-->
<div id="action10" class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-5 my">
<h2 class="text-white font-weight-bold mb-4">10. ํ์
๋ฐฉ์</h2>
<h2 class="text-white font-weight-bold mb-4">โ Collaborators</h2>
<h5 class="text-white mt-3">git์ ๋ํ ๊ธฐ๋ณธ์ ์ธ ์ฌํญ์ ๋ํด ์์๋ณด์์ต๋๋ค</h5>
<h5 class="text-white mt-3">์์ ์ ํ๊ณ ์ปค๋ฐ์ ํ์ง ์์ ์ํ์์ push๋ฅผ ํ๋ฉด ๋ง์ ์ค๋ฅ๊ฐ ์๊ธด๋ค๋ ์ฌ์ค์ ๋๊ผ์ ๊ฒ๋๋ค</h5>
<h5 class="text-white mt-3">์ด์ ๊ฐ์ด Collaborators๋ฐฉ์์ผ๋ก ํ์
์ ํ๋ฉด ๋์์ ์ฌ๋ฌ๋ช
์ด ์ฝ๋๋ฅผ ์์ ํ๊ณ ์ฌ๋ฆฌ๊ธฐ ๋๋ฌธ์ ์ปจํ๋ฆญํธ๋ผ๋ ์ค๋ฅ๊ฐ ๋น๋ฒํ๊ฒ ๋ฐ์ํฉ๋๋ค</h5>
<h5 class="text-white mt-3 mb-4">Collaborators๋ฐฉ์์ ๋ฆฌํ์งํธ๋ฆฌ ์์ ์๊ฐ ์ฝ๋ผ๋ณด๋ ์ด์
ํ ์ฌ๋์๊ฒ ์ด๋์ฅ์ ๋ณด๋ด ์ค์ผ๋ก์จ ํ์
ํ ์ ์์ต๋๋ค</h5>
<h2 class="text-white font-weight-bold mb-4">โกpull Request</h2>
<h5 class="text-white mt-3">pull Request๋ ๋ง ๊ทธ๋๋ก ํ์
์์ฒญ์ ๋ณด๋ด๋ ๊ฒ๋๋ค</h5>
<h5 class="text-white mt-3">๋ฆฌํ์งํธ๋ฆฌ ์์ ์๊ฐ ์น์ธ์ ํด ์ค์ผ ์๋ณธ ์ฝ๋์ ๋ฐ์์ด ๋๋ฏ๋ก ์ปจํ๋ฆญํธ๋ ๋ํ๋ค๋ ์ฅ์ ์ด ์์ต๋๋ค</h5>
<h5 class="text-white mt-3">pull Request ๋ฐฉ๋ฒ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค : </h5>
<h5 class="text-white mt-3">Fork - ๋ฆฌํ์งํธ๋ฆฌ ์์ ์์ ์ฃผ์๋ก clone - ๋ด pc์ ์ ์ฅ ํ ์์ ์์
- ์คํ
์ด์ง, ์ปค๋ฐ</h5>
<h5 class="text-white mt-3">๋์ผํ ์ด๋ฆ์ ๋ด ๋ฆฌํ์งํธ๋ฆฌ์ ์์ ๋ณธ์ ์ฌ๋ฆผ - pull Request๋ฅผ ์์ฒญํจ - ์๋ณธ ๋ฆฌํ์งํธ๋ฆฌ ์์ ์๊ฐ ํ์ธ ํ ์ปค๋ฐ ํน์ ๊ฑฐ๋ถ</h5>
<h5 class="text-white mt-3">ํด๋น ํํธ์๋ pull Request ๋ฐฉ์๋ง ์ดํด๋ณด๋๋ก ํ๊ฒ ์ต๋๋ค</h5>
</div>
</div>
<div class="row mt-1 mb-5 text-center pl-2 pr-2">
<div class="col-lg-8 col-md-10 col-sm-12 col-xs-12 mx-auto scrollBar-lg mb-5 my">
<div class="contents" style="text-align:left;">
<img src="fork2.png"><br>
<p class="text-white">๋จผ์ , ์๋ณธ ๋ฆฌํ์งํธ๋ฆฌ ์์ ์์ ์ฃผ์๋ก ๊ฐ๋๋ค</p>
<p class="text-white">๊ทธ ๋ค์ Fork๋ฅผ ๋๋ฌ
<ins>์์ ์ ๋ฆฌํ์งํธ๋ฆฌ</ins>
๋ก ์๋ณธ ๋ฆฌํ์งํธ๋ฆฌ๋ฅผ ๋ณต์ฌํด ๊ฐ๋๋ค
</p>
<br>
<p class="text-white">๋ด ๋ฆฌํ์งํธ๋ฆฌ์ ๋ณต์ฌ๋ ํ์ผ์ ๋ด pc์ ๋ฐ์ ์์ ํ๋ ๊ณผ์ ์ ์์์ ์ค๋ช
ํ ๊ณผ์ ๊ณผ ๋์ผํฉ๋๋ค</p><br>
<img src="pr0.png"><br>
<p class="text-white">๋ด์ฉ๋ฌผ ์์ ๋ค, ๋ชจ๋ ์ปค๋ฐ ๊ณผ์ ์ ๋ง์น๊ณ
<ins>๋ด ๋ฆฌํ์งํธ๋ฆฌ</ins>
์ ๊ฒฐ๊ณผ๋ฌผ์ ์ฌ๋ฆฝ๋๋ค
</p>
<p class="text-white">๊ทธ ํ,
<ins>๋ด ๋ฆฌํ์งํธ๋ฆฌ</ins>
์์ pull Request ๋ฒํผ์ ํด๋ฆญํฉ๋๋ค
</p>
<br>
<img src="pr1.png"><br>
<p class="text-white">create new pull Request ๋ฒํผ์ ํด๋ฆญํฉ๋๋ค</p><br>
<img src="pr2.png"><br>
<p class="text-white">create pull Request ๋ฒํผ์ ํด๋ฆญํฉ๋๋ค</p><br>
<img src="pr3.png"><br>
<p class="text-white">๋ฆฌํ์คํธ๊ฐ ์์ฒญ๋๋ฉด, ์๋ณธ ์์ ์๊ฐ ํ์ธ ํ ์ปค๋ฐ ํน์ ๊ฑฐ๋ถ๋ฅผ ํฉ๋๋ค</p>
<img src="commit1.png"><br>
<img src="commit2.png"><br>
<p class="text-white">์์ ๋๊ธฐ ์ , ์์ ๋๊ธฐ ํ ์ฝ๋๋ฅผ ๋น๊ตํด์ ํ์ธํ ์ ์์ต๋๋ค</p>
<p class="text-white">์ด ํ๋ฉด์ ๋ด๊ฐ ๋ณด๋ธ pull request์์๋ ๋์ผํ๊ฒ ๋์ต๋๋ค</p><br>
</div>
</div>
</div>
<!-- action-->
<div id="action11" class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-5 my">
<h2 class="text-white font-weight-bold">11. Conflict ํด๊ฒฐํ๊ธฐ</h2>
<h5 class="text-white mt-3">์ด ํ์์ ์์ ์ฌํญ์ด ๊ฒน์ณค์ ๋, ์ฆ ์ปค๋ฐ์ ํ์ง ์๊ณ ์ฌ๋ฌ ๋ฒ ์์ ํ์ ๋ ๋ํ๋๋ ์๋ฌ์
๋๋ค</h5>
<h5 class="text-white mt-3">์ปจํ๋ฆญํธ๊ฐ ๋ฐ์ํ ํ์ผ์ ์ฐพ์ ๋ด์ฉ์ ๊ณ ์ณ์ฃผ๋ฉด ํด๊ฒฐ๋ฉ๋๋ค</h5>
</div>
</div>
<div class="row text-center pl-2 pr-2">
<div class="col-lg-8 col-md-10 col-sm-12 col-xs-12 mx-auto scrollBar-lg mb-5 my">
<div class="contents" style="text-align:left;">
<p class="text-white">๋ถ์์์ผ๋ก ํ์ํ ๊ณณ์ ๊ธฐ์ค์ผ๋ก merge๋์ง ์์ ์์ ์ฌํญ์ด ๋ชจ๋ ๋ํ๋ฉ๋๋ค</p>
<p class="text-white">์ด๋ค ์ค ์ต์ข
์์ ํ ๋ด์ฉ๋ง ๋จ๊ธฐ๊ณ ๋ชจ๋ ์ง์์ฃผ์๋ฉด ๋ฉ๋๋ค</p>
<img src="conflict.png">
<p class="text-white">(์์ ์ )</p>
<img src="conflict2.png">
<p class="text-white">(์์ ํ)</p>
<p class="text-white">๋ชจ๋ ์์
์ด ๋๋ฌ์ผ๋ฉด ์์ ์ฌํญ์ ์ปค๋ฐํ ํ push ํฉ๋๋ค</p>
<br>
<p class="text-white">----------------------๋ช
๋ น ํ๋กฌํํธ------------------------</p>
<br>
From https://github.com/000/web1234 <br>
* branch master -> FETCH_HEAD <br>
+ 09312b1...7bfc8f4 master -> origin/master (forced update) <br>
CONFLICT (add/add): <span style="color:red;">Merge conflict in README.md</span> <br>
<p class="text-secondary">โฒ ์ด ๋ถ๋ถ์ ๋ณด๋ฉด ์ด๋ค ํ์ผ์ ์๋ฌ๊ฐ ๋ฌ๋์ง ์๋ ค์ค๋๋ค</p>
Auto-merging README.md <br>
Automatic merge failed; fix conflicts and then commit the result. <br>
</div>
</div>
</div>
<!-- action-->
<div id="action12" class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto mb-5 my">
<h2 class="text-white font-weight-bold">12. ๊ณ์ ๋ณ๊ฒฝํ๊ธฐ</h2>
<h5 class="text-white mt-3">๋ค๋ฅธ ๊ณ์ ์ผ๋ก ๋ก๊ทธ์ธ ํ๊ณ ์ถ์ ๋ ์ฐ์ด๋ ๋ฐฉ๋ฒ ์ค ํ๋์
๋๋ค</h5>
</div>
</div>
<div class="row text-center pl-2 pr-2">
<div class="col-lg-8 col-md-10 col-sm-12 col-xs-12 mx-auto scrollBar-lg mb-5 my">
<div class="contents" style="text-align:center;"><br>
<p class="text-white">์ ์ดํ์ ์ด์ด ํ์๋ ๊ฒฝ๋ก๋ฅผ ๋ฐ๋ผ ๊ฐ๋๋ค</p>
<img src="account1.png"><br><br>
<img src="account2.png"><br><br>
<img src="account3.png"><br><br>
<p class="text-white">์ญ์ ํ, ํ์์ ๊ฐ์ด ์์ ์์
์ ํฉ๋๋ค</p>
<p class="text-white">๊ทธ๋ฆฌ๊ณ push ๋ช
๋ น์ ๋ด๋ฆฌ๋ ์๊ฐ, ์๋ก ๋ก๊ทธ์ธ ์ฐฝ์ด ๋น๋๋ค</p>
<p class="text-white">๋ก๊ทธ์ธ ํ ์์
์ ๋ง๋ฌด๋ฆฌํ๋ฉด ๋๊ฒ ์ต๋๋ค</p>
<br>
</div>
</div>
</div>
<!-- action-->
<div id="action_last" class="row mt-5 text-center">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mx-auto my">
<h2 class="text-white font-weight-bold mb-4">ใ ๋จ์ถ๊ธฐ ๋ฐ ๊ธฐํ ๋ช
๋ น์ด ใ</h2>
</div>
</div>
<div class="row my text-center pt-3 pr-5 pl-5 pb-2 mb-5">