jesseduffield / jesseduffield/lazygit

Feature idea - Copy next command

Open
#3,031 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Is your feature request related to a problem? Please describe.**
Sometimes when I'm working, I need to quickly copy and paste a git command to send to a co-worker, but I'm much faster using lazygit than I am with the git command-line, so I either end up having to:
- Run the command on lazygit and copy the command log output or, if it's not something that I can run on my machine,
- Look up the git documentation for the right command, figure out the context, write it out, copy it, send it.

**Describe the solution you'd like**
It would be cool if there was a hotkey for "Copy following command" that, when pressed, the following lazygit command is not run, but copied to the clipboard instead. If it's multiple git commands, then copying all of them would be great!

**Describe alternatives you've considered**
As described in the problem section :)

**Additional context**
I'd be up for attempting to make this change myself, but I wanted to post it here first, to see if the community was into it 😅

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.