You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> `--duration` and `--from`/`--to` are mutually exclusive. `--from` only: keeps existing end time, recalculates duration. `--to` only: keeps existing start time, recalculates duration. Entry ID and creation timestamp are preserved. If the entry is not found in the current repo's project, all projects are searched.
> Works with both log and checkout entries (unlike `edit`, which only supports log entries). Shows entry details and asks for confirmation before deleting. If the entry is not found in the current repo's project, all projects are searched.
|`--year`| current year | Year (complementary to `--month` or `--week`) |
233
-
|`--project`| auto-detect | Project name or ID |
234
-
|`--export`| — | Export format (`pdf`); auto-generates filename based on period |
231
+
|`-m`, `--month`| current month | Month number 1-12 |
232
+
|`-w`, `--week`| — | ISO week number 1-53 |
233
+
|`-y`, `--year`| current year | Year (complementary to `--month` or `--week`) |
234
+
|`-p`, `--project`| auto-detect | Project name or ID |
235
+
|`-e`, `--export`| — | Export format (`pdf`); auto-generates filename based on period |
235
236
236
237
> `--month` and `--week` cannot be used together. `--year` alone is not valid — it must be paired with `--month` or `--week`. Neither flag defaults to the current month.
237
238
@@ -270,8 +271,8 @@ hourgit history [--project <name>] [--limit <N>]
270
271
271
272
| Flag | Default | Description |
272
273
|------|---------|-------------|
273
-
|`--project`| all projects | Filter by project name or ID |
274
-
|`--limit`|`50`| Maximum number of entries to show (use `0` for all) |
274
+
|`-p`, `--project`| all projects | Filter by project name or ID |
275
+
|`-l`, `--limit`|`50`| Maximum number of entries to show (use `0` for all) |
275
276
276
277
> Each line shows the entry hash, timestamp, type (log or checkout), project name, and details. Log entries display duration + task label (if set) + message. Checkout entries display previous branch → next branch.
277
278
@@ -285,7 +286,7 @@ hourgit status [--project <name>]
285
286
286
287
| Flag | Default | Description |
287
288
|------|---------|-------------|
288
-
|`--project`| auto-detect | Project name or ID |
289
+
|`-p`, `--project`| auto-detect | Project name or ID |
0 commit comments