From 575daa968212ade493b6ad3030d6718d061b185a Mon Sep 17 00:00:00 2001 From: Jon Pugh Date: Tue, 17 Sep 2024 15:07:08 -0400 Subject: [PATCH] git show after checkout. --- .../Modules/site_hosting/src/Plugin/Command/GitCheckout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Drupal/Modules/site_hosting/src/Plugin/Command/GitCheckout.php b/src/Drupal/Modules/site_hosting/src/Plugin/Command/GitCheckout.php index a3fa3c33d..3f1d68ac8 100644 --- a/src/Drupal/Modules/site_hosting/src/Plugin/Command/GitCheckout.php +++ b/src/Drupal/Modules/site_hosting/src/Plugin/Command/GitCheckout.php @@ -15,7 +15,7 @@ * description = @Translation("Clone a git repository and checkout the desired git reference."), * command = { * "git clone [git_remote] [git_root] || echo 'Clone already exists.'", - * "cd [git_root] && git fetch && git checkout [git_reference]", + * "cd [git_root] && git fetch && git checkout [git_reference] && git show", * } * ) */