Tag Archives: Magit

More On The Magit Initial Status Page

A couple of weeks ago, I wrote about setting the initial visibility of Magit sections. It was a bit of a nuisance but without it I had large expanded sections that invited an inadvertent stage command that could freeze Emacs … Continue reading

Posted in General | Tagged , | Leave a comment

Setting the Initial Visibility of Magit Sections

Like most Emacsers, I very seldom restart Emacs. When I do it’s usually because I just finished my weekly ELPA update. Despite my extensive configuration, Emacs starts up reasonably quickly for me but I still hate restarting it. The major … Continue reading

Posted in General | Tagged , | Leave a comment

Zamansky 62: Magit Forge

Mike Zamansky has posted another great video in his Using Emacs Series. This video takes a look at Magit Forge. It’s available from Melpa and is easy to install. Zamansky shows how easy in the video. Once installed, it just … Continue reading

Posted in General | Tagged , | Leave a comment

GitHub/GitLab Pull Requests from Emacs

Prathamesh Sonpatki has a useful post that shows how to make pull requests for GitHub and GitLab from Emacs using Magit. Sonpatki took some code from one of Artur Malabarba’s posts on Endless Parentheses and made the trivial changes necessary … Continue reading

Posted in General | Tagged , | Leave a comment

John Weigley on Magit

John Weigley has an excellent video on using Magit. It’s very comprehensive and the content is quite dense so you may want to watch it more than once. He covers the usual easy commands that everybody uses but also some … Continue reading

Posted in General | Tagged , | Leave a comment

Ignoring Files Locally in Magit

I learned two things I didn’t know about Magit from a post by Marcin Borkowski (mbork). The first is that you can exclude files locally. That is, you can ignore files just as if they were in .gitignore but that … Continue reading

Posted in General | Tagged , | Leave a comment

Magit from the Terminal

For those of you who like to work in the terminal, UnwashedMeme over at the Emacs subreddit has a handy tip. It’s an alias that brings up an Emacs buffer with the Magit status buffer. This doesn’t enable any new … Continue reading

Posted in General | Tagged , | Leave a comment

Find Commits Affecting a Function

Here’s a really useful tip from Wildred Hughes’ Emacs Command of the Day: Want to know all the commits that affected a function?@magit_emacs as of version 2.13 provides M-x magit-log-trace-definition for this! For any language that git log understands, it … Continue reading

Posted in General | Tagged , | Leave a comment

Run a Raw Git Command From Within Magit

There isn’t much git work that you can’t do from within Magit but occasionally it’s convenient to call git directly. In another great tip from Wilfred Hughes’ Emacs Command of the Day we have: Want to run a raw git … Continue reading

Posted in General | Tagged , | Leave a comment

Magit Interface Walkthrough

Jonas Bernoulli, the maintainer of Magit, has a nice post entitled A walk through the Magit interface. It discusses the most-used Magit features and how to access them through Magit’s interface. All that information is in the documentation, of course, … Continue reading

Posted in General | Tagged , | Leave a comment