Hide commits from log which were brought in via a merge commit #4916
-
It often happens that we merge master into a feature branch via merge commits (before we then squash-merge the PR back into master). But when this happens, the useful branch history becomes buried underneath all of the commits that were brought in via the merge. On my coworkers' Git clients and on GitHub, these commits are hidden, but on lazygit they are not. Is there some mechanism or configuration option I can enable to get this behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
No, there is not. My advice is to not merge master into a feature branch, but to rebase the feature branch onto master instead. |
Beta Was this translation helpful? Give feedback.
No, there is not. My advice is to not merge master into a feature branch, but to rebase the feature branch onto master instead.