I was in my GIT store somewhere, in which there is a word "Foo", which does the first two hundred hundreds.
If there is any way to find a revised number, where he bought the last time without fish?
This pyakseye ( -S
) option
git log -SFoo - path_containing_change
(You can also add a time limit: - since = 2009.1.1 - = 2010.1.1
)
-S & lt; String & gt; See the differences, which are & lt; String & gt; Introduce or remove a frequency of
.
Note that this is only different from string difference output; See Pixx Entry for more details.
diffcore-pickaxe
This change is used to find the filepeare that represents the changes that define a specified string Touch.
Whendiffcore-pickaxe
is in use, it checks whether there are filepears whose "origin" is the string specified in the side and does not have a "result" side
This kind of filepeare The "string that appears in this change" represents.
It also checks for the opposite case which loses the specified string.
Update 2014:
Since then, you can (from):
git log -p - -all -S 'search string' git log -p --all -G 'matches regular expression'
< <This log lists the commands that give the given search string / To add or remove regescs (usually) the most recent first. The difference between the
-p
(- patch
) option appears where the pattern was added or removed, you can see it in context.After receiving a relevant commitment, the text you were looking for (e.g.,
8beeff00d
), find the branch in which the commit is:
Comments
Post a Comment