From d86388333d6f6e611d5e598e93c66a894cd4a44d Mon Sep 17 00:00:00 2001 From: pika Date: Mon, 12 May 2025 17:03:54 +0200 Subject: [PATCH] fixed it --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 5d09695..ac4d0f8 100644 --- a/.zshrc +++ b/.zshrc @@ -428,7 +428,7 @@ __git__() { fi echo "${CYAN}No changes on the remote branch. Adding changes and pushing with ${RED}${BOLD}'$commit_message'${NC}${CYAN} commit.${NC}" - git add "$commit_files" + git add "${commit_files:-.}" git commit -m "$commit_message" git push else