HACKER Q&A
📣 kamranahmedse

What do you Google every single time and never just memorize?


What do you Google every single time and never just memorize?


  👤 wanderingstan Accepted Answer ✓
Git commands: How to reset my repo to match the remote? How to delete a file from repo but leave the local copy? How to undo an unpushed commit?

I've actually started putting these in Anki[1] to memorize, along with python and js syntax. Too early to tell if I'll keep the reviewing habit, but so far it's going well.

[1] https://apps.ankiweb.net/


👤 tony-allan
I can never remember the Python strip() method. My first guess is always trim().

Sigh.