From ae7257c75ecbd4979994e8af805c182e1cd2ab90 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Tue, 17 Jun 2025 14:45:43 +0200 Subject: [PATCH] pkgs/agit: Update documentation --- pkgs/agit/README.md | 5 ++++- pkgs/agit/agit.py | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/agit/README.md b/pkgs/agit/README.md index 058b4d55a..43d945088 100644 --- a/pkgs/agit/README.md +++ b/pkgs/agit/README.md @@ -22,7 +22,10 @@ DEFAULT_TARGET_BRANCH = main Examples: $ agit create - Will create an AGit Pr with the latest commit message title as it's topic. + Opens editor to compose PR title and description (first line is title, rest is body) + + $ agit create --auto + Creates PR using latest commit message automatically $ agit create --topic "my-feature" Set a custom topic. diff --git a/pkgs/agit/agit.py b/pkgs/agit/agit.py index 75dbbaf18..dd5c3987f 100644 --- a/pkgs/agit/agit.py +++ b/pkgs/agit/agit.py @@ -192,10 +192,10 @@ DEFAULT_TARGET_BRANCH = {DEFAULT_TARGET_BRANCH} Examples: $ agit create - Opens editor to compose PR title and description (first line is title, rest is body). + Opens editor to compose PR title and description (first line is title, rest is body) $ agit create --auto - Creates PR using latest commit message automatically (old behavior). + Creates PR using latest commit message automatically $ agit create --topic "my-feature" Set a custom topic.