Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Better way to grab ticket number #2

Open
FDiskas opened this issue Mar 6, 2020 · 0 comments
Open

Better way to grab ticket number #2

FDiskas opened this issue Mar 6, 2020 · 0 comments

Comments

@FDiskas
Copy link
Member

FDiskas commented Mar 6, 2020

I found better one line command

git branch | grep -o "\* \(.*/\)*[A-Z]\{2,\}-[0-9]\+" | grep -o "[A-Z]\{2,\}-[0-9]\+"

Source https://bitbucket.org/snippets/atlassian/qedp7d

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant