Why git branch Can Pass && After an Empty Command Substitution
This story is from 2026-10-15. It is preserved in the archive; the latest stories are on the live feed.
๐ Originally published (in Japanese) at forge.workstyle.tech . TL;DR An unquoted empty command substitution can disappear through word splitting. git branch may then succeed with its starting point omitted, so && continues to git reset --hard . Quote command substitutions and verify the backup befโฆ
Read the full story at DEV Community โ AI โ
Timeline ยท 1 report
- 2026-10-15 15:29 ยท DEV Community โ AI
Why git branch Can Pass && After an Empty Command Substitution