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

Programmer Humor

19147 readers
1205 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] 30 points 9 months ago* (last edited 9 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

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

git log --graph --oneline --all

[–] [email protected] 1 points 9 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).