3 ms·
I use lazygit, ftw! However, PyCharm has a couple of git features that even lazygit doesn't have, which I find extremely useful: - compare commits from any
by insane_dreamer 1y ago
I use lazygit, ftw!
However, PyCharm has a couple of git features that even lazygit doesn't have, which I find extremely useful:
- compare commits from any two branches (lazygit is limited in that respect)
- see the git history for an individual file
- diff a file between two branches / commits
- iLemming 1y agoNot trying to snob you, just for didactic means: Magit easily does that and more: - Not only you can see the log for an individual file - you can trace the evolution of a given function. - You can diff not only branches, commits and files - you can diff them in reverse order, diff the changes since the last pull, etc. - From the diff you can jump to the file in Dired. Dired is an Emacs' "DIRectory EDitor" - it lets you not only browse, but edit the entire [nested] file-tree as if it is a wiki page (using all the tools like multiple cursors, search&edit, etc.) and then commit changes that immediately would be reflected in the filesystem. - You can mark some files and dirs in Diread and stage/unstage them, or even ask Magit to show the logs pertaining only those items. - You can reorder, squash, fixup, or reword commits quickly - Bisecting, cherry-picking, reverting, stashing, patching, etc., also very clean and intuitive
- insane_dreamer 1y agogreat feature list! but then I'd have to use emacs ...
- soraminazuki 1y agoEven if you don't use Emacs as your main editor, many things on Emacs are worth using on its own. Examples include Magit, dired, TRAMP, Org Mode, and countless things that build on top of it.