- Merge: tạo merge commit, giữ history đầy đủ, safe cho shared branches.
- Rebase: rewrite history thành linear, clean hơn, KHÔNG dùng cho shared branches.
- Best practice: rebase feature branch lên develop trước khi merge (hoặc squash merge).
git rebase -iđể clean commits.
Git rebase vs merge khác nhau? Khi nào dùng gì?
Xem toàn bộ Git cùng filter theo level & chủ đề con.
Mở danh sách Git