6 ms·
Magit 2.13 released
- ddavis 8y agoI started using magit about 3 months ago - it's definitely one of my favorite parts of emacs now. I highly recommend it to anyone using emacs as a daily driver.
- walkingolof 8y agoOrg-Mode being other other for me, its those two Emacs modules I use frequently, the rest have (for me) been superseded by other tools.
- mitchty 8y agoOrg-mode, magit, and tramp are the three stools in emacs I keep resting on daily. Really is nothing quite like the trio of the tools.
- AlexCoventry 8y agoREPL integration for python, clojure, etc. is a huge win, too.
- dman 8y agoIvy is the other thing that keeps making me come back to emacs.
- globuous 8y agoI haven't tried ivy yet, got hot damn i love helm !!! I use it everywhere :p and actually, I recently fell in love with dired, I literally use it all the time. I like it better than finder or the command line !!
- agumonkey 8y agohow would you compare it to other git interfaces ? unless you used to use the bare git program in a shell.
- branchless 8y agoIt's far superior to the intellij integration as they have a generic "version control". Magit is just so easy to use for discarding hunks / rebasing / etc. Quick, visually clear. I sometimes use emacs just to use magit when working with java on a fiddly git task even when I'm working in intellij to modify the actual code.
- agumonkey 8y agothis should be sent to the magit team (even if its mostly Jonas these days I believe)
- btschaegg 8y agoI think at least Jonas is aware of users like that -- there were some discussions on that concept during his Magit Kickstarter campaign[1]: > Make Magit more accessible to non-Emacs users > I think that Magit can be an excellent Git interface for users of other editors and IDEs. It would be a shame if its user-base continued to be limited to people who use Emacs for editing purposes. > To appeal to non-Emacs users, Magit has to be made more accessible. Additionally I intend to provide simplified Emacs configurations and documentation that teaches just enough Emacs to be able to use Magit. See Magit for users of other editors for more information. [1]: https://www.kickstarter.com/projects/1681258897/its-magit-the-magical-git-client https://www.kickstarter.com/projects/1681258897/its-magit-th...
- masklinn 8y agoIt's the best git client I've used, comparing to git (CLI & gitk), PyCharm's builtin (even with the recent improvements e.g. hunkwise selection), tig, Sourcetree, gitx (various forks) and gitextensions. The rebase and interactive stage/unstage are especially stellar. It does get a tad slow on huge repositories, but that's the case of most git clients. Despite using pycharm for $dayjob, most of my interactions with git are through magit. Basically the only ones which are not are annotations-browsing (IDE integration is too convenient there) and branch-switching ($dayjob repo being huge, switching major branches can take some time and magit completely locks up emacs + has no feedback, so CLI is more convenient)
- fsimon 8y agoMy favorite feature in magit is the ease of doing block and line level staging of hunks. It's normal in my workflow to touch on code unrelated to what I'm working on, fixing a typo here, a formatting fix there, refactoring or simplifying a statement that was unclear at first glance. Staging those changes and commiting them right away if there are more working on the code base or simply staging them as a separate commits when the current task done makes it so much easier to keep a clean history - without having to do intermediary commits or stashing. The feature is called git add --patch[0] in command line git but magit makes it so much more accessible. [0] https://git-scm.com/docs/git-add#git-add--p https://git-scm.com/docs/git-add#git-add--p
- masklinn 8y ago> My favorite feature in magit is the ease of doing block and line level staging of hunks. Doing so is also easy using command-line git (add -p, commit -p and hunkwise reverts with checkout -p), the great thing about magit is it lets me do so: 1. with a bird's eye view, git's <x> -p shows hunks independent from one another and asks me what I want to do, sometimes I have no idea because I don't really remember what the context of that change is (or if there is one) 2. nonlinearly, similarly to above git's <x> -p goes through each hunk one by one, in magit I can go back and forth in the diff buffer if I need more info, there are shortcuts to process it linearly but it's a help (because that's a common case) not a limitation of the tool
- ww520 8y agoMagit is great. I found myself use the command line git less and less, and just get things done with Magit. One problem I have is Magit slowing down somehow. I found out that it's because Magit spawns git and the Windows anti-virus kicks in, trying to verify the files it touches. It doesn't seem to be a problem when running git on command line.
- fantispug 8y agoI'm not sure about antivirus, but magit forks git a ton of times which is really slow on windows. You are often better off running it from inside a linux VM.
- gkya 8y agoOff topic and rather personal question: I prefer Mercurial for my own VCS needs because (1) it's written in Python so I can hack on it or write extensions using a proper Python library if needed and (2) I find the UI better. But seeing how Git is becoming just as widespread as the English language in the software world, would it be wiser for me to abandon Mercurial for Git?
- callahad 8y agoAll of this is transient. Eventually someone will figure out a new paradigm (Darcs/Pijul-style patch theory?) and we'll all move on, like we did from RCS, and CVS, and Subversion. Or something will fall apart on the business side of GitHub, and we'll all go elsewhere. Like we did with SourceForge, CodePlex, and Google Code. So, what are your goals? Switching to Git might give you access to more tooling, but if you're not presently feeling hindered by Mercurial, it's probably most wise to focus on making software, rather than chasing tools. Similarly, if you're seeking feedback and patches from strangers online, then going to GitHub is your best bet, which implies forfeiting Mercurial (though maybe something like hg-git [https://hg-git.github.io/ https://hg-git.github.io/] could give you the best of both worlds?)
- gkya 8y agoThanks! I already use hg-git for pushing some open-source projects to GitHub, as it makes it easier for people to contribute patches and issues, and if I was looking for a professional software job, that's what people look at, among other things to evaluate you. That said, syncing up multiple branches can be confusing (as git branches are mapped to bookmarks, and mercurial branches don't have git equivalents, so if you have say a default and a dev branch in hg and want equivalent branches in git, you need to manually juggle bookmarks in hg). My worry, more than my goals, is that would it be a major problem not having mastered git should I look for professional jobs? I do know git to some extent, but don't know common medium-advanced tasks. WRT your first paragraph, there is a story on the front page of MS having agreed to acquire GH: https://news.ycombinator.com/item?id=17221527 https://news.ycombinator.com/item?id=17221527
- globuous 8y agoGreat !! I live magit, it's the reason I started mastering git. Finally I can use the log tree and diffs efficiently !! I haven't figured out how to vc-rename multiple files or a folder. Currently I rename folders with dired or the command line. But I have to make sure to add the renamed files from untracked manually. I wish that were automated !
- MarcScott 8y agoMy colleagues think I'm weird for using emacs, like i'm some 1980s retro fanboy. I can access my calendar (org-gcal), my email (mu4e), git (magit), edit files on a remote server (tramp) and have a full code editor with pep8 syntax checker and repl all from a single application. That same application also encompasses my file manager, my todo list, my pdf reader, my image viewer and if I really need it, a web-browser.
- aerique 8y agoBut does it run in Electron?
- oblio 8y agoI keep hearing stuff like this on HN, just out of curiosity: > my calendar (org-gcal) Can org-gcal show calendar notifications? Can it access shared calendars? > my email (mu4e) Can you see and/or compose HTML mails? > my pdf reader Can you open and render correctly complex PDFs? Graphs, tables, images, tables of contents, maybe even forms, etc.?
- fantispug 8y agoYou could cobble most of this together. You could probably get notifications using org-alert. Emacs does a reasonable job parsing most html including emails to text, but occasionally you may need to view in browser if it's very html heavy. You can compose html emails using org mode syntax with org-mime. PDFs are rendered as images. So you have limited emacs functionality, but it does a good job rendering PDFs. Doubt you can do forms.
- chuchana 8y agoPDF-Tools lets you interact with PDF files in Emacs. No support for retina screens on Macs though, unfortunately. https://github.com/politza/pdf-tools https://github.com/politza/pdf-tools
- lokedhs 8y agoNot the original poster, but although a lot of Emacs users don't use HTML email, it's certainly possible to do it. I wrote an Emacs package that allowed me to render my emails in that way Outlook does it (comments on top, everything HTML). I write my emails using markup, and then it's all rendered prior to sending. I had people mention how pretty my emails were. HTML emails also render fine, with all images as you would expect. Emacs does support online images.