From dd9b2410c80b64ddce9b9ee163b1a78c3c0355b9 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sun, 25 Aug 2024 00:17:09 +0000 Subject: [PATCH] Update cheatsheets --- tldr/git-diff | 4 ++-- tldr/nuclei | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tldr/git-diff b/tldr/git-diff index 8c0aca4c..83e3dfd8 100644 --- a/tldr/git-diff +++ b/tldr/git-diff @@ -24,9 +24,9 @@ source: https://github.com/tldr-pages/tldr.git `git diff 'HEAD@{3 months|weeks|days|hours|seconds ago}'` -- Show only names of changed files since a given commit: +- Show diff statistics, like files changed, histogram, and total line insertions/deletions: -`git diff --name-only {{commit}}` +`git diff --stat {{commit}}` - Output a summary of file creations, renames and mode changes since a given commit: diff --git a/tldr/nuclei b/tldr/nuclei index 6d7095f5..26c24fd3 100644 --- a/tldr/nuclei +++ b/tldr/nuclei @@ -6,9 +6,9 @@ source: https://github.com/tldr-pages/tldr.git # nuclei > Fast and customizable vulnerability scanner based on a simple YAML based DSL. -> More information: . +> More information: . -- [u]pdate `nuclei` [t]emplates to the latest released version: +- [u]pdate `nuclei` [t]emplates to the latest released version (will be downloaded to `~/nuclei-templates`): `nuclei -ut`