From c597278230bfb01e6cb18afc1c39ed8bbf32a017 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Thu, 28 Jul 2022 01:57:26 -0700 Subject: [PATCH] :recycle: Fixed a few typos --- scripts/bgit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bgit b/scripts/bgit index a018157d..49c86e94 100755 --- a/scripts/bgit +++ b/scripts/bgit @@ -268,7 +268,7 @@ else if [[ $revert == "y" || $revert == "yes" ]] ; then # commitarray contains all the sha256 sums of our git commits - commitarray=($(git log -6 | grep commit | sed 's/commit//g')); + commitarray=($(git log -6 | grep commit | sed 's/commit//g')) # verbosecommits is a long format output of all our commit messages verbosecommits=$(git shortlog -6 --reverse | sed 1d); @@ -295,7 +295,7 @@ else git reset --hard ${commitarray[$version]} # and pushes it to remote repository - for ((i = 0; i < $numrepos; i++)) ; do + for ((i = 0; i < numrepos; i++)) ; do git push --force ${remotearray[i]} ; done