Skip to content

Sqash commits #450

@Y-Less

Description

@Y-Less

This is just a note, as there isn't really a good way to discuss things on Github. People seem to talk about how squash commits are a good way to merge requests. The feature branch keeps all the individual commits, while the main branch gets a single commit with a complete feature and a clean history. Github has even added a "squash" option to their web-based pull request merge. I tried this for the first time on three PRs yesterday: #441 #447 and #372.

I won't be doing that again. There seems to be absolutely no mention of the original authors (@Daniel-Cortez and @YashasSamaga) in the commits, nor any links (except in the text of the commit message) to the original commits. As a result it just looks like I commited a load of stuff and closed some pull requests, whereas what actually happened was I tried to merge. All those git usage guides that advocate squash? Ignore them!

Sorry @Daniel-Cortez and @YashasSamaga.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions