0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Eclipseのgitのsquashで複数commitをまとめる

Posted at

環境

Eclipse 4.26.0

手順

Historyビュー -> 対象のcommitを選択 -> 右クリック -> modify -> squashをする。以下例ではcommit1, commit2, commit3の三つを選択している。

image.png

squashを押すとコミットメッセージの編集画面が開く。

image.png

適当にメッセージを編集してReword

image.png

正常に終了すると下記のように一つのコミットにまとめられる。

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?