From 6778187b35a625590d21aae4d0d86ed5b8448127 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 28 Aug 2020 08:02:48 -0300 Subject: TIL git grep: Escape $(git rev-list --all) --- _tils/2020-08-28-grep-online-repositories.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_tils') diff --git a/_tils/2020-08-28-grep-online-repositories.md b/_tils/2020-08-28-grep-online-repositories.md index 4b972fd..f9ef114 100644 --- a/_tils/2020-08-28-grep-online-repositories.md +++ b/_tils/2020-08-28-grep-online-repositories.md @@ -38,7 +38,7 @@ Usage: Examples: Searching "make get-git" in cgit repository: git search 'make get-git' https://git.zx2c4.com/cgit/ - git search 'make get-git' https://git.zx2c4.com/cgit/ -- $(git rev-list --all) + git search 'make get-git' https://git.zx2c4.com/cgit/ -- \$(git rev-list --all) EOF exit 2 } -- cgit v1.2.3