-
When there is a merge conflict, I prefer to use git-imerge to resolve it: git switch <branch>
git-imerge rebase main However, this workflow leaves a bunch of garbage commits from the imerge process in my smartlog. What's the best way to hide them all at once? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
You can look into using Short of that, I've been tinkering w/ some other flags locally to make it easier to bulk hide commits, but I haven't stabilized them yet. |
Beta Was this translation helpful? Give feedback.
-
I wonder if there's some way to temporarily disable tracking? Could maybe use that while doing the imerge? |
Beta Was this translation helpful? Give feedback.
-
This isn't pretty, but seems to do the trick if the imerge was in the past 30 minutes and you are rebasing (so there are no merge commits in your desired output history): git hide $(git log --all --since="30 minutes ago" '--grep=^Merge' '--grep=^imerge' --format=format:%H) |
Beta Was this translation helpful? Give feedback.
-
Just an update in case someone lands here: as mentioned in #496, this command should work:
|
Beta Was this translation helpful? Give feedback.
Just an update in case someone lands here: as mentioned in #496, this command should work: