Simple pet project to find commits by commit message inside branches and tags. Built with V
⚠️ Windows users: This is just a wrapper of bash scripts usinggit
under the hood. Use Git bash to run this tool.
Usage: gw search [flags] <commit message>
Searches the commit message in branches and tags
Flags:
-b -branch Containing branch name that you want to filter
-t -tag Containing tag name that you want to filter
-help Prints help information.
Example:
gw search -tag MY_TAG_NAME -branch MY_BRANCHES D-19007
Searching for D-19007 in branches MY_BRANCHES and tags MY_TAG_NAME
Branches:
origin/10.0.MY_BRANCHES 11e0bd5297 - Author
origin/10.1.MY_BRANCHES 11e0bd5297 - Author
Tags:
MY_TAG_NAME-10.0.10 21c4e784b6 - Author
MY_TAG_NAME-10.0.11 41df034952 - Author
MY_TAG_NAME-10.0.12 41df034952 - Author
MY_TAG_NAME-10.0.12-alp 41df034952 - Author
Usage: gw diff <tag1> <tag2>
Shows the commits between 2 tags
Flags:
-help Prints help information.
Install pre-commit git hook with:
git config core.hooksPath ./git-hooks
Example of formatting gw.v
v fmt -w gw.v
# for linux
v -os linux . -o build/gw-linux -prod
# for mac
v -os macos . -o build/gw-mac -prod
# for windows
v -os windows . -o build/gw-win -prod