4 ms·
git init && git commit --allow-empty -m "Hello World" && git log --pretty=format:%s -n 1 I need more interesting hobbies (than doing a lot of random git man pa
by pkilgore 6y ago
git init && git commit --allow-empty -m "Hello World" && git log --pretty=format:%s -n 1
I need more interesting hobbies (than doing a lot of random git man page reading for various reasons).
- xoudini 6y agoI had a similar thought: git init -q && git commit -q --allow-empty -m "Hello, World\!" && git show --format=%B | head -1