Open lazygit with commit-hash as input #4485
Unanswered
nobbmaestro
asked this question in
Q&A
Replies: 1 comment 1 reply
-
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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