(Sorry if this belongs to #off-topic) I have always heard magit is awesome but never realized to what extent. What sorcery is this?
It's the biggest sorcery in VCS history after git! :) Managing all versioning related stuff in just one text buffer is an extreme productivity jump, like moving to emacs or using a tiling window manager.
@hindol.adhya magit is magic. I used to obsessively use the command line for git, but now I use Magit for everything, even creating pull requests and gists from Emacs. Magit makes reset and rebasing so easy too https://practicalli.github.io/spacemacs/source-control/magit/ (some of the videos are a little old but are mostly correct, i.e. magithub has been replaced by forge)
I have the exact same experience. I have so far used git from command line because none of the GUIs/wrappers stuck with me and I never felt git CLI is a problem. But after going through the Magit manual yesterday and today, I already feel more productive. The mnemonic keybindings are great!
Magit solves a problem I never knew existed.
i ❤️ magit. on the subject of guis for git, i used to use smartgit before i used magit. i like their index editor idea a lot: http://www.syntevo.com/doc/display/SG/Staging%2C+unstaging+and+the+Index+Editor that really helped in developing my mental model of how some things work in git.
I have used git add -p
to similar effect, for staging. Magit makes it simpler. But that's not the selling point for me. I love how every command imaginable is just two keystroke away from the status buffer. Even complex operations like rebase.
yeah, that's nice too :)
i think the author may have abstracted that functionality out into a library iirc
and if you cant find what you want, !
menu in magit status will let you type a git command. I think I used this once in 4 years
I am enjoying using forge to create issues and pull request from within Emacs too https://practicalli.github.io/spacemacs/source-control/magit/forge.html
Yeah, forge is next in my list of things to learn.
@jr0cket FYI, your tutorial on forge helped me setup ~/.authinfo.gpg
. I was struggling with it without your guide. Thank you!
I think the last time I looked at PGP was at the end of the 1990's, so I was a bit lost to start with. EasyPG in Emacs did help though. I need to expand on creating a PGP key with gpg (although a key is optional)
I love the 'magit solves an issue I never knew existed' one. exactly how I felt when I really gave it a try
cli feels very barbaric now 😄
will checkout forge, as I'm not aware what it's all about
What magit is to git, forge is to Github.
@dev-hartmann in a nutshell, work with github (gitlab and other similar services) issue and pull requests in the magit status buffer. Also create forks and pull requests (no need to visit GitHub to press the green 'create pull request' button
thanks @jr0cket! Just reading through your page on it. creating PRs from magit is infact another layer of icing on the cake. will include that into my setup!