Practical difference between gitleaks dir . and gitleaks git . #1882
Answered
by
bplaxco
pantelis-karamolegkos
asked this question in
Q&A
-
Assuming I have cloned a What is the actual difference (if any) between
and
|
Beta Was this translation helpful? Give feedback.
Answered by
bplaxco
Jun 4, 2025
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pantelis-karamolegkos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dir
only scans files in a directory. It won't go through a git repo's history.git
scans the history of the git repo. (It usesgit log
under the covers and scans the generated patches. 👍