feat: add git:status subcommand

Closes #5248
This commit is contained in:
Jose Diaz-Gonzalez
2022-11-09 00:02:11 -05:00
parent 655b5307b5
commit aca8deb2f2
4 changed files with 16 additions and 0 deletions

View File

@@ -285,6 +285,14 @@ cmd-git-report-single() {
fi
}
cmd-git-status() {
declare APP="$1"
local APP_ROOT="$DOKKU_ROOT/$APP"
verify_app_name "$APP"
fn-git-cmd "$APP_ROOT" status
}
fn-git-auth-error() {
dokku_log_warn "There is no deploy key associated with the $DOKKU_SYSTEM_USER user."
dokku_log_warn "Generate an ssh key with the following command (do not specify a password):"