by insane_dreamer · 4mo ago · 0 comments
fyi, a couple of features that lazygit does not have, or that aren't easily done in lazygit and which pycharm does quite well (I've used _many_ git tools, and IMO pycharm's internal implementation is still the best, but I switched to lazygit because I dropped pycharm for zed).
- diff any branch against any other branch (lazygit relies on certain branches being marked or inferred as main branches against which you can diff)
- see a file's git history (and which branches those commits are on), drill into the commits
- github (or gitlab, codeberg, etc.) support: open commit in github (easiest way to share commit with a co-worker, for example)
zed inserts the filename but doesn't allow you to edit the commit (so it's all or nothing), pycharm allows you to edit the commit prepopulated with the filename if only one file is staged.
another enhancement is that neither pycharm or zed can handle inserting multiple filenames into the commit. so while editing the commit, you could potentially have keys to insert the staged filenames, i.e., by pressing a meta+number key combo where ctrl+1 inserts the first filename in the staged list, ctrl+2 the second, 1-9. just an idea.