git-find

command module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 8 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL