Git merge commits [duplicate]
问题 This question already has answers here : Squash my last X commits together using Git (32 answers) How to check if a string “StartsWith” another string? (18 answers) Closed last year . This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow. Migrated 8 years ago . I'm new to git (and enjoying it a lot!). While developing in a new branch, I kept committing the various development 'states' of my application. Now I have to check it in for