Skip to content

Instantly share code, notes, and snippets.

@guilhermejcgois
Last active August 2, 2022 01:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guilhermejcgois/8a6be42fc382f24201ab66602479ce80 to your computer and use it in GitHub Desktop.
Save guilhermejcgois/8a6be42fc382f24201ab66602479ce80 to your computer and use it in GitHub Desktop.
Getting all scopes from commits summary in a repo for commitizen friendly repos
git log --pretty="%s" | grep -o -P '(?<=\().*(?=\))' | grep -v -F 'pull request' | uniq
@guilhermejcgois
Copy link
Author

Glad to help! Will update my local alias with your tip, thank you to share back to me. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment