font force squash commits #532
-
@inlang/contributor @inlang/team yooo I know why we are getting so many merge conflicts lately when rebasing. @ivanhofer#3454 and I decided to only allow squashes of commits to main. We anticipated a "cleaner" commit history. Problem
VSCode shows a commit for a single line that consists of 30+ commits = much harder to find the commit and corresponding commit message that describes the change. ProposalDon't force squash merges on a PR to avoid merge conflicts and make commit messages useful. 👍 = don't force squash commits anymore |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I never understood squash and merge function on github. 😄 But said in the top comment of this post and I agree: Every dev should handle squashes on their own device before pushing a PR. |
Beta Was this translation helpful? Give feedback.
-
Additional remark: Not squashing commits generally make merge conflicts easier to resolve because (conflicting) commits are smaller. |
Beta Was this translation helpful? Give feedback.
-
Problem nr. 1 happens only if you don't branch away from Problem nr. 2 is not a problem in my opinion. I find it cleaner if I have a commitmessage "added feature X" instead of 20+ commits where half of them says "fix" or "refactor". |
Beta Was this translation helpful? Give feedback.
-
Closing as "don't force squash commits", see #532 (reply in thread) |
Beta Was this translation helpful? Give feedback.
Closing as "don't force squash commits", see #532 (reply in thread)