News for hackers. Stuff that matters.
Re:Oh shit, git: Getting myself out of bad situations by aoeuhtns on Monday December 18, 2017 @11:00AM (#15952507)
Magit in emacs. Probably one of the killer applications for emacs.
Re:Oh shit, git: Getting myself out of bad situations by karmajunkie on Monday December 18, 2017 @11:15AM (#15952648)
+1, along with Tig (console gui).
Re:Oh shit, git: Getting myself out of bad situations by menacingly on Monday December 18, 2017 @12:00PM (#15953080)
Thanks for telling me about tig, now I'm justified for having browsed HN today.

It treats my "assume everything works like vim" habit well

Re:Oh shit, git: Getting myself out of bad situations by alunaryak on Monday December 18, 2017 @12:13PM (#15953211)
tig is great -- it makes it very easy to stage individual lines of code (using 1) or to reset unstaged changes on a file (using ! in the status view).
Re:Oh shit, git: Getting myself out of bad situations by karmajunkie on Tuesday December 19, 2017 @11:43AM (#15961452)
it covers like 80% of my use-cases (which I use 99% of the time), and weirdly magit gets me the other 20% if I can remember which trail of breadcrumbs I follow through helm to make it happen. For the easier stuff I just drop down into the cli though.
Re:Oh shit, git: Getting myself out of bad situations by bradyholt on Monday December 18, 2017 @02:15PM (#15954456)
I love tig!
Re:Oh shit, git: Getting myself out of bad situations by celeritascelery on Monday December 18, 2017 @11:30AM (#15952802)
Agreed. Best git interface I have ever used.
Re:Oh shit, git: Getting myself out of bad situations by monsieurbanana on Monday December 18, 2017 @11:22AM (#15952719)
I'd hesitate to call Magit a git GUI though.

If we take Ranger for example, who calls itself the "CLI file manager", then Magit is rather a "git CLI".

Re:Oh shit, git: Getting myself out of bad situations by gumby on Monday December 18, 2017 @11:39AM (#15952885)
>I'd hesitate to call Magit a git GUI though.

Why? It is designed for git and graphically displays revisions allowing you to pick and chose chunks of file and to revert individual changes.