Open lazygit with commit-hash as input #4485
Replies: 2 comments 2 replies
-
There's no way to do this with lazygit currently. I guess the closest you can get right now is to start lazygit, press I have the same need, and I have been thinking about how to improve the history browsing experience in lazygit, but currently lazygit just isn't a very suitable tool for this. I'm using gitk for this myself, it serves my needs much better. A few reasons:
Let me know if you want to know more about my gitk workflow. |
Beta Was this translation helpful? Give feedback.
-
I found I can startup in commit view by |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm looking for a way of invoking lazygit with a commit-hash as parameter (as
git show <hash>
). The idea is to inject latest commit of highlighted line via NeoVim, and launch lazygit log at the commit.To my knowledge, there is no for doing this,
lazygit log --filter
takes only path from CLI. Is there an intuitive way of accomplishing this? My initial idea is to create a custom command where the hash is obtain from e.g. the clipboard.Thanks in advance and keep up the good work! Truly amazing utility you guys have created!
Beta Was this translation helpful? Give feedback.
All reactions