mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-16 02:26:24 -04:00
Updated Patch Madness (markdown)
parent
da34869385
commit
2c31beb27f
|
|
@ -70,6 +70,10 @@ If you've managed to read through the command line solutions to the 3 use cases
|
|||
|
||||
How do we do these things in lazygit? Use case 2 is the most all-encompassing so we'll use that as our example.
|
||||
|
||||
Let's say our repo contains a grocery list with some random items, and we've added two additional commits, one for adding junk food, and one for adding dairy. But in the junk food commit we've got the 'milk' item appearing in the list. We should move that to the dairy commit.
|
||||
|
||||
(screenshots/video coming soon)
|
||||
|
||||
1) Open lazygit and go to the commits panel by tapping right-arrow twice
|
||||
2) press 'enter' on the commit that has the code snippet you want to move to another commit
|
||||
3) press 'enter' on the file that has the code snippet
|
||||
|
|
|
|||
Loading…
Reference in a new issue