From 53c564cb3d8c2aab005fce4a5802b7e4d0008d84 Mon Sep 17 00:00:00 2001 From: giomba Date: Tue, 30 Nov 2021 15:49:01 +0100 Subject: [PATCH] git --- git.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 git.md diff --git a/git.md b/git.md new file mode 100644 index 0000000..d9dec7d --- /dev/null +++ b/git.md @@ -0,0 +1,8 @@ +# Git + +### What commit added a certain file? + git log --diff-filter=A -- path/file + + +### Edits of a certain file + git diff -- path/file