454
you are viewing a single comment's thread
view the rest of the comments
[-] lseif@sopuli.xyz 9 points 1 year ago* (last edited 1 year ago)

using LazyGit in tmux has changed my workflow.

instead of: git add . git commit -m 'foo' fg

i just: g ac foo q

and it displays everything neatly

Edit: apparently greater/less than symbols dont render properly on lemmy. so imagine a few (CR)'s and (C-b)'s sprinkled in

[-] alphabetsheep@lemmy.world 5 points 1 year ago

Are you able to fall back to normal git commands if you don't know the shortcuts? This sounds awesome until I can't remember the syntax to do something I don't do everyday.

[-] lseif@sopuli.xyz 3 points 1 year ago

you can run shell commands with :, and there may be a nicer way for git-specific commands which i dont know about.

each 'pane' (such as 'changed/staged files', 'commit log', etc) has its own keybinds, which you can see with ?

this post was submitted on 13 Dec 2023
454 points (93.7% liked)

Programmer Humor

19804 readers
510 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS