mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-15 19:04:57 +01:00
4 lines
143 B
Text
4 lines
143 B
Text
|
COMMIT_COUNT=$(git cat-file --batch-check='%(objectname) %(objecttype)' --batch-all-objects | grep commit | wc -l)
|
||
|
|
||
|
test "$COMMIT_COUNT" -gt 0
|