git branch --all lists many branches, and I'm looking for one that contains line 1234 , which is the problem number in our project management system.
The following works in PowerShell, and I want to replace it with something agnostic.
PS> git branch --all | where { $_ -like "*1234*" }
How to do it with git and git alone?
source share