from Hacker News

Magit 3.0

by mpsq on 5/25/21, 9:17 AM with 140 comments

  • by zelphirkalt on 5/25/21, 2:31 PM

    Looking forward to using the new release. "git at the speed of thought" describes magit quite well. Actually sometimes magit nudged me into the direction of looking up some more special git commands, to learn about them and then making use of magit's interface to them, often simply pressing one button more. Magit has not made me forget how command line git works, because it often shows me right there, what the arguments are I am specifying by a few key presses actually are. If it made me forget how to use actual git, I would be thinking: "Meh, but I should know how to use git actually, for the times when I do not have magit around." Fortunately this is not the case at all with magit.
  • by divs1210 on 5/25/21, 4:39 PM

    Magit must be one of the best software tools ever written.

    I sorely missed it when I had to use IntelliJ for a few projects, so I wrote a TUI tool like Magit that can be used inside the console window of most IDEs like IntelliJ etc.

    Still haven't gotten around to releasing it properly, but it's easy to setup and works well enough to be a working MVP.

    https://github.com/hugit-project/hugit

  • by nonbirithm on 5/25/21, 6:49 PM

    I wish Git would have some kind of command-server mode or libgit2 was supported with Magit to prevent needing to create new processes on Windows. Magit sometimes creates dozens of Git processes for a single operation, but because process creation is much slower on Windows than Linux, it makes Magit unusable for me on those systems. (Sadly, I don't always get a choice to just use Linux.) Simple things like magit-status take 10 seconds per refresh/stage/unstage instead of half a second elsewhere. It got to the point where using the git command line was much more bearable, but way more error-prone, and I miss Magit every time.

    https://magit.vc/manual/magit/Microsoft-Windows-Performance....

    https://github.com/magit/magit/issues/2959

  • by the_duke on 5/25/21, 1:32 PM

    Emacs is too laggy for me as my main editor.

    But Magit is so good that I start emacs up just to use it as my Git interface if I can't get by just with the CLI.

    Sadly there is no Vim plugin that is competitive. There is vimagit [1], but it's not on par.

    [1] https://github.com/jreybert/vimagit

  • by poidos on 5/25/21, 2:00 PM

    Congratulations to Jonas and the whole team! Magit is a joy to use and has made me feel supremely comfortable with advanced git work.
  • by bm3719 on 5/25/21, 1:15 PM

    Magit is definitely one of the best addons for Emacs.

    Nice to see Forge getting some attention. One less reason to ever leave Emacs is always welcome.

  • by bgorman on 5/25/21, 3:34 PM

    When I switched to emacs, I thought org-mode and repl integration would be the killer features. I was wrong- Magit is best emacs feature by far.

    It’s great that parts of the magit experience have been separated into packages. Perhaps now mercurial, perforce etc can get clients similar to magit in quality.

  • by ta988 on 5/25/21, 1:19 PM

    Magit is really one of the best git interface there is. I'm often coming back to it.
  • by jhvkjhk on 5/25/21, 1:26 PM

    I heard lots of praise to Magit. Is there a way to use it like a standalone git client? Like tig, lazygit, etc.
  • by NeutralForest on 5/25/21, 2:31 PM

    Magit is one of the best piece of software for Emacs! Good stuff =)
  • by dang on 5/25/21, 10:13 PM

    Some past related threads:

    Magit – A Git Porcelain inside Emacs - https://news.ycombinator.com/item?id=24431216 - Sept 2020 (83 comments)

    A walk through the Magit interface - https://news.ycombinator.com/item?id=21729597 - Dec 2019 (81 comments)

    Magit 2.13 released - https://news.ycombinator.com/item?id=17220630 - June 2018 (49 comments)

    Show HN: Magit, the magical Git interface - https://news.ycombinator.com/item?id=15358723 - Sept 2017 (5 comments)

    Magit Kickstarter fully funded - https://news.ycombinator.com/item?id=15312288 - Sept 2017 (71 comments)

    Emacs and Magit - https://news.ycombinator.com/item?id=14819256 - July 2017 (174 comments)

    Magit: a Git porcelain inside emacs - https://news.ycombinator.com/item?id=10643977 - Nov 2015 (14 comments)

    What's new in Magit 2.x - https://news.ycombinator.com/item?id=9936095 - July 2015 (23 comments)

    Using Emacs and Git with Magit 2.1 - https://news.ycombinator.com/item?id=9873237 - July 2015 (29 comments)

    Meet Magit - Git Mode for Emacs - https://news.ycombinator.com/item?id=2543265 - May 2011 (4 comments)

  • by aryamaan on 5/25/21, 4:20 PM

    I never fail to see so many high things about Magit and I believe they are rightly placed.

    I am a non Emac user and wonder why no one tries to bring something similar client for non Emac population.

  • by Decabytes on 5/25/21, 2:32 PM

    Magit is incredible and Emacs is my main Editor. Reading the post a couple days ago on text selection and how hard it is to get right makes me even more in awe of what a text editor does
  • by amackera on 5/25/21, 1:53 PM

    Magit hits the sweet spot between flexible and easy that makes it an actually useful git editor integration. You still need to know git to use it, though!
  • by ducttapelogic on 5/25/21, 11:11 PM

    Just a trivia info (I guess that's how it's called?) - especially interesting for mathematics lovers: the creator of Magit is Jonas Bernoulli, from Basel. Probably a descendant of the famous Bernoullis https://en.wikipedia.org/wiki/Bernoulli_family

    p.s. Somebody correct me if I'm wrong.

  • by aidenn0 on 5/25/21, 1:29 PM

    I haven't tried very hard yet, but magic has been fairly unintuitive for me. Perhaps it's just that I've been using git for so long.

    There have been several times that I tried something with magit, and messed things up enough that I just dropped into a shell and did everything with the git command line

  • by chewxy on 5/25/21, 2:09 PM

    I ran `magit-version` and I got Magit 20201225.4, which I assume is the 2020 Christmas edition of Magit. Did they suddenly switch to semver?
  • by globular-toast on 5/25/21, 4:53 PM

    I love git but every time I have to use the cli instead of magit I cry a little.
  • by mekster on 5/25/21, 2:05 PM

    How does the interface compare to SourceTree?
  • by cstml on 5/25/21, 1:49 PM

    Fantastic.
  • by trentontri on 5/25/21, 4:21 PM

    when can we stop renaming 'master'? it's a pointless update.
  • by ajross on 5/25/21, 11:57 PM

    Tried it once. It seemed cute. That lasted precisely up to the point where I did a "git rebase -i" and landed in some crazy custom mode where I was supposed to use... I dunno, secret keybindings or something instead of just reordering the patches like I've done for years and years.

    It went right in the trash and I haven't looked back. Do. Not. Break. Workflows. Ever. If a user knows they're supposed to open a file in a specific format in their editor, and you inject your pixie dust into the guts of their editor thinking you know better what they want to do than they do, then all you've done is prove to the user that you cannot be trusted to support their work.

    Seriously: I don't use magit and don't want to learn its new tooling because I don't trust it not to break itself.