Created
July 29, 2021 09:36
-
-
Save albannurkollari/f1a694dfca0c44aca529f37276ba4a3c to your computer and use it in GitHub Desktop.
My day to day GIT aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to be updated | |
[alias] | |
## disecting/inspecting/searching | |
findkeyword = "!f() { git log -S $1 --oneline -- ':(exclude)*package-lock.json' . ; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage of findkeyword:
The result will be a number of commits (or no commit at all) for the given keyword to search among files that had a change or was introduced into.