Download raw body.
Quickly copy commit id?
On Thu, May 07, 2026 at 04:32:47PM +0100, Simon Harrison wrote: > Hello. I'm wondering if there's a quick way to copy a commit id. If > not, would it be possible to add. Perhaps to tog? This would be very > useful for cherry picking. > > Cheers, > > Simon X11 clipboard integration in tog would be very annoying for us to handle. There is nothing X11-specific in tog right now and I would rather avoid adding X11-specific things as a dependency. So copy-paste via X11 is not something I would want to support. In relative small projects typing only the first 4 or 5 digits of a commit ID should work instead of copy-pasting the entire ID. And there is a shortcut "keyword" syntax on the command line, which works anywhere a commit ID is expected and allows for syntax like: got cherrypick main:-5 This doesn't help in all cases but can be convenient occasionally. If that isn't enough then the least objectionable design choice from my point of view would be a shortcut in tog which performs a cherrypick of the currently highlighted commit into the work tree.
Quickly copy commit id?