♻️ Fixed a few typos
This commit is contained in:
parent
ba7592952a
commit
c597278230
1 changed files with 2 additions and 2 deletions
|
|
@ -268,7 +268,7 @@ else
|
||||||
|
|
||||||
if [[ $revert == "y" || $revert == "yes" ]] ; then
|
if [[ $revert == "y" || $revert == "yes" ]] ; then
|
||||||
# commitarray contains all the sha256 sums of our git commits
|
# 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 is a long format output of all our commit messages
|
||||||
verbosecommits=$(git shortlog -6 --reverse | sed 1d);
|
verbosecommits=$(git shortlog -6 --reverse | sed 1d);
|
||||||
|
|
||||||
|
|
@ -295,7 +295,7 @@ else
|
||||||
git reset --hard ${commitarray[$version]}
|
git reset --hard ${commitarray[$version]}
|
||||||
|
|
||||||
# and pushes it to remote repository
|
# 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]} ;
|
git push --force ${remotearray[i]} ;
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue