Hacker News new | ask | show | jobs
by tterrace 4672 days ago
I've accidentally pasted lines with --username --password into source files because of a sensitive scroll wheel... That's pretty embarrassing in code review.
2 comments

Wouldn't your own personal pre-peer-review review have caught that?
Plus you should be checking diffs before committing anything.
It's generally a good idea to use git add -p, even without a sensitive scroll wheel.