Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 앱
- tabbar
- 앱바
- viewmodel
- LifeCycle
- Button
- Dialog
- appbar
- TEST
- textfield
- binding
- textview
- scroll
- Flutter
- 테스트
- ScrollView
- Coroutines
- Navigation
- intent
- 계측
- DART
- livedata
- data
- drift
- activity
- Kotlin
- android
- CustomScrollView
- Compose
- 안드로이드
Archives
- Today
- Total
Study Record
[Git] branch 합치기(merge / rebase) 본문
728x90
merge
브랜치의 사용내역을 남기면서 합친다.
# 현재 브랜치에 합친다.
# 형식 : git merge "브랜치명"
git merge add-coach
rebase
브랜치의 사용내역을 남기지 않고 한줄로 합친다!
# main 에다가 new-teams 브랜치를 rebase 하는 과정
# new-teams 브랜치 이동
git switch new-teams
# rebase
git rebase main
# main 브랜치 이동
git switch main
# merge
git merge new-teams
728x90
'Git' 카테고리의 다른 글
[GitHub] GitHub는 왜 쓰는 걸까? (0) | 2022.02.22 |
---|---|
[Git] 충돌 해결하기 (0) | 2022.02.22 |
[Git] branch & switch (0) | 2022.02.16 |
[Git] 과거로 돌아가는 방법(Reset vs Revert) (0) | 2022.02.16 |
[Git] add 와 commit(버전 생성) (0) | 2022.02.15 |