News for hackers. Stuff that matters.
Re:Ask HN: How do you stop forgetting to commit or push? by Faaak on Monday March 28, 2022 @07:22AM (#30829317)
Customise your shell (bash, zsh, etc.) in order to show on each prompt the status of your git repo (untracked changes, commits not on a remote, etc..). When I see some red, I now something is amiss and it really helps.

Also, `tig` is a great tool to explore the git history

Re:Ask HN: How do you stop forgetting to commit or push? by noir_lord on Monday March 28, 2022 @07:59AM (#30829539)
I just install zsh/oh-my-zsh and it has all that nicely setup out the box.

I love oh-my-zsh and it's plugins.