結論: merge會產生一個merge commit到目前branch rebase會把目前branch接在rebase branch rebase適合用在同個branch,或是改動幅度不大的branch merge適合用在不同的branch,以及年代久遠的branch