Sourcetree

Git: 列出分支、查看歷史提交紀錄

列出 local 與 remote 分支、查看分支與其歷史提交紀錄。

git git branch Sourcetree · 留言


Git: 如何從特定 commit 切新的分支?

本文說明如何從特定 commit 切新的分支、為新分支命名、將新分支合併回主線、退回尚未合併分支的狀態與刪除用不到的分支。

git git merge git branch Sourcetree · 留言


Git: Cherry-pick - 選擇某個分支的某些提交記錄

在開發階段的尾聲,準備合併回主線時,老闆說「B、C 功能會在這次上線,A 功能再等等吧」這時候就不是每個 Commit 都需要合併至主線了,而是挑出需要的就好,又為了維護主線的乾淨整齊,合併後只能有一個提交記錄。這要怎麼做呢?

git cherry-pick git Sourcetree · 留言


Git: 比較 Merge Squash 與 Rebase Squash

比較 Merge Squash 與 Rebase Squash。

git rebase git Sourcetree · 留言


Git: 更新分支+解衝突

更新分支+解衝突。

git rebase git merge git Sourcetree · 留言