develog

[git] merge vs merge --no-ff vs merge --squash vs rebase 본문

Dev/git

[git] merge vs merge --no-ff vs merge --squash vs rebase

냐옴 2021. 10. 26. 10:20
merge 전 상태
  • Branch 는 master, feature 2개

git merge feature
  • Branch All

  • Branch master

git merge feature --no-ff
  • Branch All

  • Branch master

git merge feature --squash
  • Branch All

  • Branch master

git rebase feature
  • Branch All

  • Branch master

'Dev > git' 카테고리의 다른 글

[git] reset, 커밋 취소  (0) 2021.10.26
[git] 현재 branch 의 변경 내용을 모두 rollback  (0) 2021.10.26
git commit 취소  (0) 2021.08.25
[git] diff  (0) 2021.08.09
[github] ssh 설정 (mac)  (0) 2021.08.03
Comments