✨ add git log -S (git search)
This commit is contained in:
parent
698c39d660
commit
33f43280ea
1 changed files with 3 additions and 0 deletions
|
|
@ -103,6 +103,9 @@ git remote prune origin
|
||||||
|
|
||||||
# see all commits that affected somefile
|
# see all commits that affected somefile
|
||||||
git log --follow -- filename
|
git log --follow -- filename
|
||||||
|
|
||||||
|
# search code in all history
|
||||||
|
git log -S "some_old_varname" --oneline --all
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Submitting multiple PRs
|
#### Submitting multiple PRs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue