Emacs Rocks! Episode 17: Magit

Channel:emacsrocks · Length:2:39 · Published:2017-09-28 · Views:37940

Watch on YouTube

Summary

A three-minute Emacs Rocks screencast demonstrating Magit, the Git interface inside Emacs, including staging and other everyday operations.

Why HN recommends it

HN users share it as the quick demo that shows what Magit can do, for people unfamiliar with it.

I always share this demo with people to show off just a tiny portion of what it's capable of doing — HN, 2020

Testing, debugging & developer tools

Subtitles (excerpt)

it's about time I did one of these on I get when I watch people use get on the command line I almost feel blind I'm so used to my get where there's so much information readily apparent on the command line you have to type out several different stages and log commands to see the same stuff now the other thing is that people who just pull down changes blindly even if you're not using maggot you should really consider fetching instead I can inspect the changes rebase when I'm ready this certainly helps in case of merge conflicts but most importantly it keeps me up to date on the code base and this workflow is much better if people make good commits and that's where I get really shines it's so easy to look through changes stage only what is relevant and commit that like this entire file or just is line brilliant if I notice a typo I can quickly reword with CW and when I forget a line seee lets me quickly extend the latest commit looking good it's at this point I usually realize I should have branched out to make a pull request enter BS to make a branch spin-off notice how my commits have been removed to this branch while master is reminded that was a very few my favorite market features and I've barely scratched the surface please add some of

On Hacker News

I cannot possibly encourage you more to check out magit. It is unbelievably good. I always share this demo with people to show off just a tiny portion of what it's capable of doing [VIDEO] My skills with git have gotten better after using magit, too, because it brings the power of git to the surface. It's a really fantastic git porcelain and the fact that it is deeply integrated into Emacs just m… — giggles_giggles, 2020-05
If you're an emacs user, I can't recommend magit [1] enough. I was a diehard CLI user and had flags and aliases out the wazoo, and it was still a step change in usabilty and power for me. Staging hunks, rebasing, and stashing are all vastly easier. Amending or editing a commit is a breeze, and it's tied in to all of the other emacs tools you already use, e.g. org-mode to boot! It's easier to see … — nickbarnwell, 2018-08
Not sure about other editors, but Magit's hunk- and line-level staging/unstaging is hard to beat, IMO. For hunk-level staging, you put your cursor on the hunk you want to add and press "s". If you want to split that and only stage a few lines, you just select those lines and press "s". This demo is pretty good I think: [VIDEO] — ryukafalz, 2020-09
There is Magit Forge which is not limited to Github [LINK] If you are not familar with Magit, there is a screencast: Emacs Rocks! Episode 17: Magit [VIDEO] — d0mine, 2019-07
The video is indeed... not so great. I would go as far as to say that this might be the Kickstarter campaign with the crappiest video that ever succeeded. But at some point I just had to launch instead of continuing to hope I would eventually get around to launching the perfect campaign. I did however make an effort to give non-Emacs a better glimpse into how Magit works using a few articles list… — tarsius, 2017-10

Related videos