jesseduffield / jesseduffield/lazygit

export selected commit as diff/patch

Open
#4,894 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

The current fastest workflow is to hit `y` and then copy the hash to the clipboard and then run: `git format-patch -1 7ae304975444ab0632affb1eceab0399ee3971d4 --stdout > diff.diff`

Which works but is still rather clunky.

Simply exporting the diff to a file would be awesome.

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.