From a59dab1ef3a31fbf736a35e4bfbe7abe6bdbf0b2 Mon Sep 17 00:00:00 2001 From: daveberrys <84567826+daveberrys@users.noreply.github.com> Date: Sat, 18 Jul 2026 02:23:12 +0800 Subject: [PATCH] update docs --- DOCS.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/DOCS.md b/DOCS.md index b5dfc32..3c5ee02 100644 --- a/DOCS.md +++ b/DOCS.md @@ -36,6 +36,15 @@ Open the pull requests page. guh browse pr ``` +Optionally, add `print` to print the URL instead of opening it. + +``` +guh browse issues print +guh browse pr print +guh browse print +``` + + --- ## `commit` @@ -200,3 +209,23 @@ guh undo 1 # git reset --soft HEAD~1 guh undo 2 hard # git reset --hard HEAD~2 guh undo 1 mixed # git reset --mixed HEAD~1 ``` + +## `logs` +Show commit logs. + +``` +guh logs [commits] +``` + +**Arguments** + +| # | Name | Required | Description | +|---|------|----------|-------------| +| 1 | commits | no | Number of commits to show (default: all) | + +Examples: +``` +guh logs 5 +``` + +Equivalent to `git log`.