Custom command with refresh #1526
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think if you use the git-hook built into opencommit (https://github.com/di-sukharev/opencommit/?tab=readme-ov-file#git-hook-killer-feature) it should just work. |
Beta Was this translation helpful? Give feedback.
-
Thank you. |
Beta Was this translation helpful? Give feedback.
But to answer your question, the api is
require("neogit").dispatch_refresh()