Use the following command to extract the jira ticket from the current git branch name:
git rev-parse --abbrev-ref HEAD | grep -oE '[A-Z]+-[0-9]+'
Gets jira ticket from git branch name.
npx skillmds@latest add saml/saml-jira-ticket Use the following command to extract the jira ticket from the current git branch name:
git rev-parse --abbrev-ref HEAD | grep -oE '[A-Z]+-[0-9]+'
saml/copilot-skills/tree/main/saml-jira-ticket commit 1839236cc8