@hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish • 7 months agoGitHub Desktop or Git CLI?programming.devimagemessage-square118fedilinkarrow-up1512
arrow-up1512imageGitHub Desktop or Git CLI?programming.dev@hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish • 7 months agomessage-square118fedilink
minus-square@criticalimpact@lemm.eelinkfedilinkEnglish28•edit-27 months agoCLI Though I will admit it took me a while to get there git add -i is where the true magic begins
minus-square@hakunawazo@lemmy.worldlinkfedilink1•7 months agoAlso 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).
CLI
Though I will admit it took me a while to get there
git add -i is where the true magic begins
TIL!
git log --graph --oneline --all
Also part of the Cli magic is a pretty git log tree like that:
![](https://lemmy.world/pictrs/image/3302d15a-1370-4f02-bc0d-5ec00c0c20f6.png)
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).