Closed jamesmoss closed 11 years ago
Could we use git cherry -v
or git fetch
in this situation?
Cool...never knew about that Git command. I think it should do the trick- have you tried it on your repo with lots of remotes?
Yep, it's fast; instantaneous really. Want me to do a PR?
Great. That'd be awesome!
Fixed in #28.
Here you're calling
git remote show origin
to detect unpushed commits as part of the validation before deployment.We have repo with 130~ remote branches (I'm tracking about 10 locally) with 6500+ commits and this command is incredible slow to run (2min 43sec). Is there another, faster way to detect this?