mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-23 21:01:22 +02:00
Tweaks to jspricke's level improvements
Especially, introduce a better way to count branches
This commit is contained in:
parent
6141268bdd
commit
21d8366dbb
2 changed files with 2 additions and 2 deletions
levels/time-machine
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue