From 74587f1ace5bb25fd5d17ba005d4e2539e41cd68 Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 14 Jun 2020 17:19:54 +0100 Subject: [PATCH] How to check what has been changed since last commit --- git.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/git.md b/git.md index b98133f..4ed468d 100644 --- a/git.md +++ b/git.md @@ -38,3 +38,13 @@ Add the new file, or the changed file/directory Commit with a message; What and why was it changed git commit -m + +# Check which files have been changed since last commit + +To check the files themselves + + git status + +To check the contents of the files, from last commit + + git diff HEAD