Hacker News new | ask | show | jobs
by lourot 2849 days ago
Hi :) I guess your script will grow over time because soon you'll want to detect also unpushed and stashed changes.

Before you reinvent this wheel, there is already a tool doing exactly that: https://github.com/brandon-rhodes/uncommitted

(Disclaimer: I wrote a large part of it)