this post was submitted on 13 Dec 2023
491 points (94.2% liked)

Programmer Humor

19572 readers
1984 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 11 months ago* (last edited 11 months ago) (2 children)

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

[–] [email protected] 5 points 11 months ago (1 children)

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.

[–] [email protected] 3 points 11 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 ?