Skip to content

Commit

Permalink
Update squash_and_merge_summary.md (#36457)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Ahmady <[email protected]>
  • Loading branch information
mdmower-csnw and subatoi authored Feb 25, 2025
1 parent dffc1c1 commit 280602f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/reusables/pull_requests/squash_and_merge_summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ To squash and merge pull requests, you must have [write permissions](/organizati

![Diagram of commit squashing, where multiple commits from a feature branch are combined into only one commit that is added to `main`.](/assets/images/help/pull_requests/commit-squashing-diagram.png)

You can use squash and merge to create a more streamlined Git history in your repository. Work-in-progress commits are helpful when working on a feature branch, but they aren’t necessarily important to retain in the Git history. If you squash these commits into one commit while merging to the default branch, you can retain the original changes with a clear Git history.
You can use squash and merge to create a more streamlined Git history in your repository. Work-in-progress commits are helpful when working on a feature branch, but they aren’t necessarily important to retain in the Git history. If you squash these commits into one commit when merging to the default branch, the changes are consolidated, leading to a clear Git history.

0 comments on commit 280602f

Please sign in to comment.