• 追加された行はこの色です。
  • 削除された行はこの色です。
* 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



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS