lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Copy branch name to clipboard - Append branch name to commit message

Open maxiim3 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. My commit messages often start with the branch name

Describe the solution you'd like Have the option to copy to clipboard the branch name. / Add it to a commit message

maxiim3 avatar Oct 02 '24 15:10 maxiim3

You can copy the branch name with ctrl+o. Does that help?

mark2185 avatar Oct 02 '24 15:10 mark2185

/close

Seems like <c-o> meets the needs here. An integrated command to copy branch name + commit message is probably overkill. A custom command might be able to achieve that, although I haven't sketched that out.

ChrisMcD1 avatar Apr 27 '25 00:04 ChrisMcD1