I've been thinking about how I use search engines because the results are getting worse over time, for both relevance and the sites that tend to occupy the top of the first page.
When I had searched for guitar tabs, a page I had landed on could be summarized as: a generic hook, irrelevant auto-playing YouTube video, a page floater or pop-up soliciting my e-mail address for marketing offers; no actual guitar tabs.
Just as I reference a dictionary on occasion, I reference documentation for unix commands, programming language libraries, and so on. But a common problem I had encountered was online magazines taking precedence over official documentation. The information on the former tends to be outdated or obsolete while the latter doesn't quite snap up keywords and common search terms as well. So a bad habit I want to break is referencing search engine results, and a new habit I will start is to write (even) more notes to myself.
The first step forward: stop searching how to 'git uncommit'. In most cases, what I want is to undo the commit and leave everything intact, so I can re-do the commit message or (un)set my name or e-mail:
git reset --soft HEAD^
I can see a use for undoing the commit and unstaging the changes.
git reset HEAD^
I seldom want to throw out everything and reset to the previous commit:
git reset --hard HEAD^
— from https://archive.is/foQbY and finally taking the time to read git reset --help