this post was submitted on 13 Dec 2023
478 points (94.1% liked)

Programmer Humor

19817 readers
899 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 1 year ago* (last edited 1 year 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

[–] alphabetsheep 4 points 1 year 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] 2 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 ?