Reputation: 139
As I am in the process of moving from Bitbucket to Github, I am going through a long list of repositories on my computer that I should have been better about maintaining, but haven't been looked at or thought of in awhile. I'm manually going from repo to repo checking to see if there are any uncommitted changes on any existing branch.
I'd like to do this with one command, rather than doing 'git status' on each branch, but I'm unsure of how exactly to do this as I'm not very proficient writing bash scripts.
I am currently running Linux.
Upvotes: 0
Views: 149
Reputation: 571
This command may help
git log --graph --all --decorate --oneline
Any lines which don't flow back in to the main branch indicate branches with un-merged changes.
Upvotes: 1