File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 17
17
</a>
18
18
</p >
19
19
20
- ### GIT FLOW 개념도
20
+ ## GIT FLOW 개념도
21
21
22
22
<p align =" center " >
23
23
<img height="650" src="./img/git-flow-description.png">
24
24
</p >
25
25
26
- ### 시작하기
26
+ ## 시작하기
27
27
``` bash
28
28
$ git flow init
29
29
```
30
30
31
- ### 주요 브랜치
31
+ ## 주요 브랜치
32
32
- ** master**
33
33
- 배포 시 사용하는 브랜치
34
34
@@ -83,13 +83,23 @@ $ git flow init
83
83
84
84
< br>
85
85
86
- # # 참고
86
+ # 참고
87
+
88
+ # # --no-ff 옵션
89
+
90
+ ! [develop](./img/1.png)
91
+
92
+ 1번은 --no-ff 옵션 없이 finish 한 것이다.
93
+ - develop 브랜치에 수정을 가하는 ** 커밋 1개** 만 존재한다.
87
94
88
- # ## --no-ff 옵션
89
95
! [ff](./img/111.png)
90
96
97
+ 2번은 --no-ff 옵션을 넣어 finish 한 것이다.
98
+ - 코드 수정 커밋 + develop 브랜치 Merge ** 커밋 2개** 가 존재한다.
99
+
91
100
! [no-ff](./img/222.png)
92
101
102
+
93
103
# # release 후에 git push
94
104
- ** Before:** develop 브랜치만 push한 경우.
95
105
- ** After:** develop 브랜치 push 후 master bransh push
@@ -99,15 +109,15 @@ $ git flow init
99
109
- master 브랜치 push 전에는 5번 커밋이 마스터로 머지된 커밋이라는 것을 인식하지 못하는 것 같다.
100
110
- master 브랜치에서 push하면 문제가 해결된다.
101
111
102
- # ## GIT Branch bash에서 시각화
112
+ # # GIT Branch bash에서 시각화
103
113
` A DOG! `
104
114
` ` ` bash
105
115
$ git log --All --Decorate --Oneline --Graph
106
116
` ` `
107
117
< img height=" 600" src=" ./img/adog.png" >
108
118
109
119
110
- # ## 래퍼런스
120
+ # # 래퍼런스
111
121
- [git-flow cheatsheet](http://danielkummer.github.io/git-flow-cheatsheet/index.ko_KR.html)
112
122
- [[GIT]git-flow 사용하기](https://uroa.tistory.com/106)
113
123
- [[Review] gitflow, 쉬운 git branch 관리](http://huns.me/development/1131)
You can’t perform that action at this time.
0 commit comments