mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-14 21:38:22 +02:00
Write win scripts for all levels (with a short, fun trip to quote hell)
This commit is contained in:
parent
2aefdf8391
commit
7c82381e8d
9 changed files with 50 additions and 18 deletions
levels/03-commit
3
levels/03-commit/win
Normal file
3
levels/03-commit/win
Normal file
|
@ -0,0 +1,3 @@
|
|||
COMMIT_COUNT=$(git cat-file --batch-check='%(objectname) %(objecttype)' --batch-all-objects | grep commit | wc -l)
|
||||
|
||||
test "$COMMIT_COUNT" -gt 0
|
Loading…
Add table
Add a link
Reference in a new issue