@hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish • 11 months agoGitHub Desktop or Git CLI?programming.devimagemessage-square159fedilinkarrow-up1515arrow-down132
arrow-up1483arrow-down1imageGitHub Desktop or Git CLI?programming.dev@hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish • 11 months agomessage-square159fedilink
minus-square@criticalimpact@lemm.eelinkfedilinkEnglish31•edit-211 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.worldlinkfedilink2•11 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://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).