Repository navigation
|
When there is a merge conflict, I prefer to use git-imerge to resolve it: git switch <branch>
git-imerge rebase mainHowever, 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! |
Answered by
pokey
Sep 20, 2022
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. |
4 replies
|
I wonder if there's some way to temporarily disable tracking? Could maybe use that while doing the imerge? |
3 replies
|
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) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Just an update in case someone lands here: as mentioned in #496, this command should work: