From fa5987dca9089d3698c5246ae7827c9c3b204436 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Fri, 5 Apr 2024 22:41:53 +0200 Subject: git: add --name-only --- src/tools/git.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/git.md b/src/tools/git.md index 33bf858..8d5c26c 100644 --- a/src/tools/git.md +++ b/src/tools/git.md @@ -138,6 +138,7 @@ the same repository (shared .git folder). git diff .. [] .... show changes between two arbitrary commits. If one is omitted it is if HEAD is specified. + git diff --name-only .. . show names of files changed git diff -U$(wc -l ) ....... shows complete file with diffs instead of usual diff snippets git diff --staged ....................... show diffs of staged files -- cgit v1.2.3