@[email protected] to Programmer [email protected]English • 7 months agoGitHub Desktop or Git CLI?programming.devimagemessage-square134fedilinkarrow-up1514arrow-down132
arrow-up1482arrow-down1imageGitHub Desktop or Git CLI?programming.dev@[email protected] to Programmer [email protected]English • 7 months agomessage-square134fedilink
minus-square@[email protected]linkfedilinkEnglish28•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@[email protected]linkfedilink1•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).