News for hackers. Stuff that matters.
Re:Little Things I Like to Do with Git by danellis on Wednesday May 24, 2017 @11:17AM (#14410611)
How much time does that actually save? I find that for any given task, I spend far more time reading and thinking than I do typing, and of the time spent typing, most of it is spent typing arguments.
Re:Little Things I Like to Do with Git by akavel on Wednesday May 24, 2017 @04:45PM (#14413310)
I use `git diff` and `git log --graph --decorate --all --oneline` and `git status` so often, that it totally saves heaps of time. Especially the second one ― I usually type my `gl` somewhat subconsciously already; only afterwards I realize what I'm looking at, and start reading. That's possibly related to the fact that I commit very often, use many working branches, and then rebase -i (usually squashing and composing a good readable commit message) before publishing.

But anyway, if someone asks for help with "how to fix my mess in git", the absolutely first thing I do is exactly `git log --graph --decorate --all --oneline`, to start finding out visually what the mess actually is.

Re:Little Things I Like to Do with Git by jachee on Wednesday May 24, 2017 @11:32AM (#14410742)
The shorter a command is, the fewer typos can be made. Many times have I typed `git stauts` or `git ocmmit`

Of course, my personal solution instead of aliases was to switch to using SourceTree.

Re:Little Things I Like to Do with Git by herrvogel- on Wednesday May 24, 2017 @03:02PM (#14412563)
I discovered https://github.com/nvbn/thefuck a while ago and now I kind of enjoy making typos like this.
Re:Little Things I Like to Do with Git by fredley on Wednesday May 24, 2017 @11:47AM (#14410879)
For me, at least a day in 5 years: https://xkcd.com/1205/