Skip to content

Commit 1c5272e

Browse files
committed
--no-ff 옵션 설명 추가
1 parent 16b72a1 commit 1c5272e

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
</a>
1818
</p>
1919

20-
### GIT FLOW 개념도
20+
## GIT FLOW 개념도
2121

2222
<p align="center">
2323
<img height="650" src="./img/git-flow-description.png">
2424
</p>
2525

26-
### 시작하기
26+
## 시작하기
2727
```bash
2828
$ git flow init
2929
```
3030

31-
### 주요 브랜치
31+
## 주요 브랜치
3232
- **master**
3333
- 배포 시 사용하는 브랜치
3434

@@ -83,13 +83,23 @@ $ git flow init
8383
8484
<br>
8585
86-
## 참고
86+
# 참고
87+
88+
## --no-ff 옵션
89+
90+
![develop](./img/1.png)
91+
92+
1번은 --no-ff 옵션 없이 finish 한 것이다.
93+
- develop 브랜치에 수정을 가하는 **커밋 1개**만 존재한다.
8794
88-
### --no-ff 옵션
8995
![ff](./img/111.png)
9096
97+
2번은 --no-ff 옵션을 넣어 finish 한 것이다.
98+
- 코드 수정 커밋 + develop 브랜치 Merge **커밋 2개**가 존재한다.
99+
91100
![no-ff](./img/222.png)
92101
102+
93103
## release 후에 git push
94104
- **Before:** develop 브랜치만 push한 경우.
95105
- **After:** develop 브랜치 push 후 master bransh push
@@ -99,15 +109,15 @@ $ git flow init
99109
- master 브랜치 push 전에는 5번 커밋이 마스터로 머지된 커밋이라는 것을 인식하지 못하는 것 같다.
100110
- master 브랜치에서 push하면 문제가 해결된다.
101111
102-
### GIT Branch bash에서 시각화
112+
## GIT Branch bash에서 시각화
103113
`A DOG!`
104114
```bash
105115
$ git log --All --Decorate --Oneline --Graph
106116
```
107117
<img height="600" src="./img/adog.png">
108118
109119
110-
### 래퍼런스
120+
## 래퍼런스
111121
- [git-flow cheatsheet](http://danielkummer.github.io/git-flow-cheatsheet/index.ko_KR.html)
112122
- [[GIT]git-flow 사용하기](https://uroa.tistory.com/106)
113123
- [[Review] gitflow, 쉬운 git branch 관리](http://huns.me/development/1131)

img/2.png

2.53 KB
Loading

0 commit comments

Comments
 (0)