Squash my last X commits together using Git

前端 未结 30 3518
醉酒成梦
醉酒成梦 2020-11-21 05:17

How can I squash my last X commits together into one commit using Git?

30条回答
  •  春和景丽
    2020-11-21 05:53

    If you're working with GitLab, you can just click the Squash option in the Merge Request as shown below. The commit message will be the title of the Merge Request.

提交回复
热议问题