Tweaks to jspricke's level improvements

Especially, introduce a better way to count branches
This commit is contained in:
blinry 2021-01-04 13:57:39 +01:00
parent 6141268bdd
commit 21d8366dbb
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ git checkout HEAD~1
[win]
NUM_BRANCHES="$(git branch -a | wc -l)"
NUM_BRANCHES="$(git show-ref --heads | wc -l)"
test "$NUM_BRANCHES" -ge 3
[congrats]

View file

@ -11,7 +11,7 @@ cards = checkout commit-auto reset-hard file-new file-delete
echo Very smelly socks. > socks
echo A tiny couch table. > table
echo An empty energy drink can. > can
echo An empty bag of chips. > bag
echo An empty bag of chips. > bag_of_chips
git add .
git commit -m "weekend"