4 ms·
I heard lots of praise to Magit. Is there a way to use it like a standalone git client? Like tig, lazygit, etc.
by jhvkjhk 5y ago
I heard lots of praise to Magit. Is there a way to use it like a standalone git client? Like tig, lazygit, etc.
- ashton314 5y agoYou could just alias this in your shell: alias magit='emacs -nw --eval "(magit-status)"'
- jhvkjhk 5y agoThanks, that’s exactly what I want.
- iib 5y agoI was reading the thread and replied to a very similar situation. The only addition was that if you want only a magit interface, it makes no sense to load the rest of your emacs config, so you could add a special magit initialization file, and just add -Q --load magit-init.el
- dmm 5y agoSure, just open the git repo in a magit. I do it almost every day.
- codemonkey-zeta 5y agoDid you mean "open the git repo in a magit buffer"? Because then I'd agree. To address GP comment, you can just install vanilla emacs, then install magit, and just use that as your "standalone" app.
- CJefferson 5y agoI would strongly recommend first doing some emacs tutorials -- you don't have to start using emacs as your editor, but (in my opinion) magit does assume you have some understanding of how emacs works.
- globular-toast 5y agoHonestly, you'd only get a fraction of the power of magit doing it that way. It's power is due to it being thoroughly integrated into the environment you use for editing all kinds of text every single day. Imagine being able to control git using the same commands your used to in whatever text editor you use.