docs(dashboard): replace 'hub status' with 'git status' (#310)

## Description

When copying the "advanced" or "github" examples for dashboard, there
was error 'hub is not recognized' changing ```hub status --short
--branch --renames``` to ```git status --short --branch --renames```
fixes that

## Screenshots

<!-- Add screenshots of the changes if applicable. -->

![image](https://github.com/user-attachments/assets/f50c618b-37fd-4faa-b4a1-1046c47ed072)

![image](https://github.com/user-attachments/assets/067da57b-da33-477c-865e-30264a4c448c)

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
This commit is contained in:
Haim 2024-12-15 19:18:15 +02:00 committed by GitHub
parent 66cce2f512
commit ad62d81c4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ M.examples.advanced = {
enabled = function()
return Snacks.git.get_root() ~= nil
end,
cmd = "hub status --short --branch --renames",
cmd = "git status --short --branch --renames",
height = 5,
padding = 1,
ttl = 5 * 60,
@ -127,7 +127,7 @@ M.examples.github = {
{
icon = "",
title = "Git Status",
cmd = "hub --no-pager diff --stat -B -M -C",
cmd = "git --no-pager diff --stat -B -M -C",
height = 10,
},
}