Say I have the bash command
git branch --format='%(refname:short)\\EL' --contains > branchoutputs.txt || git rev-parse HEAD
Where the output might look like this:
develop\\EL
feat/some-feature\\EL
feat/another-thing\\EL
someName/another-branch-name\\EL
How can I make that at least one of these conditions is true?
- Match
develop\\EL - Match
feat/*\\EL
Otherwise return false basically.
manpage forgrep.