Open LordMike opened 6 years ago
One suggestion is to pass "-sb" to mu status. This is a much more compact list. It doesn't help you in showing multiple branches though, but it's something.
The better git command could be something along the lines of the second answer from here: https://stackoverflow.com/questions/7773939/show-git-ahead-and-behind-info-for-all-branches-including-remotes
I have a working version of mu-repo with a command added to do this atm..
Ooh, sb
is a good one. But yea, something like the for-each ref would be great.
You can make a git alias called bst which runs that, then you can run mu bst and get that output
Closing since there are no plans to implement this -- pull requests welcome ;)
Actually, this one has a pull request for it: https://github.com/fabioz/mu-repo/pull/51
Still, the question there remains: why not just use a git alias?
I'd like a way to know, if any of my repos are ahead or behind their corresponding remotes. If possible, I'd also like to know this for any other branches I may have.
I do not know the relevant git commands, apart from the fact that
git status
will tell me if I'm behind or ahead...I usually run
mu status
and then read through the messages, but it's quite cumbersome..