News for hackers. Stuff that matters.
Re:Ask HN: How do you stop forgetting to commit or push? by iex_xei on Monday March 28, 2022 @09:02AM (#30830090)
These days I'm using a script[0]. It checks all directories under ˋ$HOME/github.com/ˋ for changes and opens lazygit if there are changes. You can replace that line with a ˋgit commit -am "wip" ; git push origin/my-current-branchˋ for an ultimate lazy solution, to rebase later. :)

[0]: https://gist.github.com/iesahin/398af2556f5ae809c4b368ffc2ef...

There are no comments on this comment yet.