Skip to content

semihbkgr/git-find

Repository files navigation

git-find

ci workflow go doc

'git-find' is a tool that enables you to search texts on a specific git commit.

git find [args --commit=<hash> --ignore-case ...] [search terms]

to list all available args: 'git-find --help'

Installation

go install github.com/semihbkgr/git-find@latest

Usage

to find 'todo' and 'func' keywords on commit '9aaf0b4'

git find --commit=9aaf0b4 --ignore-case --removed todo func
# --commit: defines which commit you want to search on
# --ignore-case: apply case-insensitive search
# --removed: prints removed lines as well

output

output

to search on working tree, do not pass 'commit' arg.

git find [search terms]

to list all available args

git-find --help

About

search texts on a specific git commit

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages