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

Programmer Humor

19623 readers
4 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
[–] criticalimpact@lemm.ee 32 points 11 months ago* (last edited 11 months ago) (2 children)

CLI
Though I will admit it took me a while to get there
git add -i is where the true magic begins

[–] stepanzak@iusearchlinux.fyi 9 points 11 months ago (1 children)
[–] FiskFisk33@startrek.website 2 points 11 months ago

git log --graph --oneline --all

[–] hakunawazo@lemmy.world 2 points 11 months ago

Also part of the Cli magic is a pretty git log tree like that:

https://stackoverflow.com/questions/1838873/visualizing-branch-topology-in-git/34467298#34467298

And a proper diff tool like vim:

git config --global diff.tool vimdiff git config --global difftool.prompt false

(Current diff could be closed with :qa. All diffs could be closed with :cq).