-
Notifications
You must be signed in to change notification settings - Fork 0
/
Aula_5.txt
110 lines (110 loc) · 2.61 KB
/
Aula_5.txt
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
1 Git config --global user.name 'Consuelo Ascanio'
2 Git config --global user.email 'consueloascanio@gmail.com'
3 Git config --global user.email'consueloascanio@gmail.com'
4 Git config --global user.email
5 Git config --global user.name
6 cd Desktop/
7 mkdir Curso_Git
8 ls
9 cd Curso_Git/
10 git config user.name
11 git init
12 git status
13 git log --pretty=oneline -2
14 git log -2
15 git log
16 git log -p -2
17 git log --pretty=oneline -2
18 git log -2
19 git log -p -3
20 git log
21 git log -p -2
22 git log -p -4
23 git log -p -2
24 git log -2
25 git reset head~
26 git log
27 touch test
28 ls
29 cap test
30 cat test
31 echo 'hola' >test
32 cat test
33 git status
34 git add test
35 git status
36 cat aula_4.txt
37 git add .
38 git status
39 git committed /?
40 cat aula_4.txt
41 git commit -m -Adicionado arquivo Aula 4'
42 q
43 git commit -m 'Adicionado arquivo Aula 4'
44 clear
45 q
46 git commit -m 'Adicionado arquivo Aula 4'
47 git status
48 git log
49 ls
50 cd Desktop/
51 cd Curso_Git/
52 git commit -m 'Adicionado arquivo Aula 4'
53 git status
54 git log --pretty=oneline
55 vim -b consuelo
56 git log
57 cd Desktop/
58 vim index.html
59 ls
60 cd Curso_Git/
61 cd Desktop/
62 git log
63 cd Curso_Git/
64 git log
65 git log
66 git branch
67 git checkout -b 'feature'
68 git branch
69 touch Nova_feature
70 git status
71 git branch
72 lsq
73 touch Nova_feature
74 git status
75 git add Nova_feature
76 git commit -m 'Adicionando nova feature'
77 git log
78 git checkout master
79 git status
80 git add
81 touch Continuando_master
82 git add Continuando_master
83 git commit -m 'Adicionado Continuacao na master'
84 git checkout feature
85 git log
86 git checkout -b feature2 master
87 git log
88 CD Curso_git
89 ls
90 cd desktop
91 cd Curso_Git/
92 git log
93 git checkout feature2
94 git log
95 git branch -d feature2
96 git checkout master
97 git branch -d feature2
98 git checkout feature2
99 clear
100 git checkout feature
101 git log --pretty=online --graph
102 git log --pretty=oneline --graph
103 git merge master
104 git log
105 git log --pretty=oneline --graph
106 git reset --hard HEAD~
107 git log --pretty=oneline --graph
108 git rebase master
109 git log --pretty=oneline --graph
110 history > Aula_5.txt