Git merges multiple commits into one commit

Original link: https://www.bboy.app/2023/05/16/git%E5%90%88%E5%B9%B6%E5%A4%9A%E4%B8%AAcommit%E4%B8%BA %E4%B8%80%E4%B8%AAcommit/

Introduction

Sometimes testing ci will trigger multiple commits to execute actions, but these commits are meaningless, so they need to be merged

This article is reproduced from: https://www.bboy.app/2023/05/16/git%E5%90%88%E5%B9%B6%E5%A4%9A%E4%B8%AAcommit%E4%B8%BA %E4%B8%80%E4%B8%AAcommit/
This site is only for collection, and the copyright belongs to the original author.