Search for any string ever committed in a git repo

Here's how to find out information on when a particular string was added or removed from a git repo. Thanks to Jason (oadaeh) for the tip! Find out more here: https://git-scm.com/docs/git-log#git-log--Sltstringgt

git log -S "The string you are looking for" the/directory/to/search/

Internal References

External References

Article Type

General