Skip to content

Update readme.md #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 <commit-hash> <commit-hash>
```

### Clean Up the Repository

Reset the repository for a fresh start:
Expand Down