- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- バックアップ を表示
- Git/git rebase/複数のコミットを1つにまとめる へ行く。
- 1 (2015-09-18 (金) 03:48:07)
* git rebaseで複数のコミットを1つにまとめる [#pf43b768] $ git log --oneline 71f4d70 commit#3 934d01c commit#2 7d19a73 commit#1 $ git rebase -i > pick 934d01c commit#2 > pick 71f4d70 commit#3 ↓ > pick 934d01c commit#2 > s 71f4d70 commit#3 > # This is a combination of 2 commits. > # The first commit's message is: > > commit#2 > > # This is the 2nd commit message: > > commit#3 ↓ > commit#2 and commit#3 $ git log --oneline 08984ad commit#2 and commit#3 7d19a73 commit#1