# `git findpath [partial]`
#
# Find the path to the file where the name includes the given partial string.
#
# Example:
#
# ```
# $ git findpath README
# dist/README.md
# ```
#
findpath = "!git ls-files | grep -i"
Or, to search your entire codebase for a string:
grep = grep -Ii
To ensure the search is undertaken from the repository's root directory:
Or, to search your entire codebase for a string:
To ensure the search is undertaken from the repository's root directory:
Source: https://www.durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/