jmalloc / grit

Keep track of your local Git clones.
MIT License
22 stars 3 forks source link

`rm` command should check for any unpushed commits #27

Open jmalloc opened 7 years ago

jmalloc commented 7 years ago

Equivalent to git log --branches --not --remotes.

jmalloc commented 7 years ago

I'm not really sure how to implement the rest of this. I guess I'll need to iterate over all the local refs (tags and branches) and verify that they exist on at least one of the remotes, or even just origin.