486
you are viewing a single comment's thread
view the rest of the comments
[-] lseif@sopuli.xyz 9 points 9 months ago* (last edited 9 months 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 9 months 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 9 months 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
486 points (94.2% liked)

Programmer Humor

19190 readers
955 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 1 year ago
MODERATORS