mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-13 19:04:54 +01: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
|
@ -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]
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue