From 9ce93533178f37c3ba56b0b8988a0d1195913302 Mon Sep 17 00:00:00 2001 From: Hai Xi <68842436+Hai-Xi@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:38:07 -0500 Subject: [PATCH] Update readme.md --- readme.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/readme.md b/readme.md index aa64eda..4a58557 100644 --- a/readme.md +++ b/readme.md @@ -55,6 +55,14 @@ Check the current status of the repository (what is staged and not staged) geet status ``` +### Check a file's content + +Use cat to check a file's content + +```bash +geet cat test.txt +``` + ### Show File or Commit Content View the content of a file or commit details: @@ -72,6 +80,14 @@ Switch to a previous commit using its hash: geet checkout a145d0486463ceb2840f5c871608f142b713736f ``` +### See the different committed version of a file + +Using diff to check the two different versions of a file using its hashs + +``` +geet diff +``` + ### Clean Up the Repository Reset the repository for a fresh start: