Git: get all non-pushed branches
A PHP Error was encountered
Severity: Notice
Message: Undefined index: userid
Filename: views/question.php
Line Number: 191
Backtrace:
File: /var/www/html/cnasolution/application/views/question.php
Line: 191
Function: _error_handler
File: /var/www/html/cnasolution/application/controllers/Questions.php
Line: 419
Function: view
File: /var/www/html/cnasolution/index.php
Line: 315
Function: require_once
Git: get all non-pushed branches
There is a number of the branches in my project repository. And I was working on those during the years. Of course, I had to be accurate and should remove completed local branches (which reflect corresponding jira tickets), but sadly I did this not always.
Current scenario requires to migrate to another dev desktop, potentially I could push all local branches to the remote and clone/pull from new host. however I can't forcely push them , I need to initially get the list of non pushed branches, manually review them and decide to push them or not.
How to get the list of non-synchronized local branches ? I could not find such commend...