Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The granularity of staging and unstaging code, combined with the ease of doing things within the text editor that you're already using anyway are really great. I held off using Magit because I thought learning Emacs would be enough by itself, but Magit is intuitive and easy and I really love it. Made my git usage much more efficient within days of starting to use it.


Same but one caveat that still bothers me about it is that it's not a scriptable package.

I can't hook a function to automatically git pull changes when I open it because the pull command only works when the buffer is up.

I'm sure there is some magic to set the current buffer, but for me this is not trivial.

Ideally (magit-diff "myfile.py") should be all I need to do.


> Same but one caveat that still bothers me about it is that it's not a scriptable package.

What are you talking about? It's written in Emacs-lisp, the possibilities are virtually limited only by Emacs's capabilities. Explain what you're trying to do, maybe post your problem to emacs.stackexchange, r/emacs. I'm sure people would be able to help you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: