From 4d9a86da59dd3438da53240d27e39f6de759ca0e Mon Sep 17 00:00:00 2001 From: TechDufus Date: Thu, 19 Oct 2023 15:53:36 -0500 Subject: [PATCH] Refactoring yolo commit funcs --- roles/bash/files/bash/git_functions.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/bash/files/bash/git_functions.sh b/roles/bash/files/bash/git_functions.sh index a2f6156a..6a5f1e20 100644 --- a/roles/bash/files/bash/git_functions.sh +++ b/roles/bash/files/bash/git_functions.sh @@ -7,9 +7,7 @@ gacp() { } gacpgh() { - git add -A - git commit -m "$*" - git push -u origin $(git branch | sed -n -e 's/^\* \(.*\)/\1/p') + gacp "$*" gh pr create --fill gh pr review --approve gh pr merge -dm