Add a flag to list branches
Closed this issue · 2 comments
jonmann20 commented
Hello, thanks for the wonderful tool.
Would be great if there were a way to list branches other than master/main (regardless of status).
e.g.
mgitstatus --branches
./foo: ok
./bar: my_stale_feature_branch_here
fboender commented
Hey Jon,
Not sure what you mean by this. Mgitstatus already shows branches other than master/main if the require any action. For example, a branch stale
which has not been pushed to upstream:
./multi-git-status-test: Needs upstream (stale)
I have just added a -b
switch to show the currently checked out branch in the output:
./fboender/multi-git-status (master): Needs push (master) Uncommitted changes
jonmann20 commented
Awesome, ya I think I was looking for somthing like that so I could see which repos locally were not on master
. Thanks for the update and keep up the good work 💪