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

Programmer Humor

19817 readers
905 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] 27 points 1 year ago* (last edited 1 year 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

[–] [email protected] 9 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

git log --graph --oneline --all

[–] hakunawazo 1 points 1 year 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).