Skip to content

Commit 3d3d2b1

Browse files
authored
Add git log search commands to index.html q
Added search commands for git history using git log.
1 parent 4993ca4 commit 3d3d2b1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

pages/git/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,13 @@ <h2>gitstorage files without extension</h2>
803803
</script>
804804
<a href="https://github.com/stopsopa/gitstorage">github</a>
805805

806+
<h2>search in git history</h2>
807+
<script type="editor" data-lang="sh">
808+
809+
git log -S"searchTerm" --all -p
810+
git log -G"searchTerm" --all -p
811+
812+
</script>
806813
<h2>pull.sh</h2>
807814
<script type="editor" data-lang="sh">
808815

0 commit comments

Comments
 (0)