wuespace / telestion-docs

Documentation for the Telestion project, created using Docusaurus v2
https://docs.telestion.wuespace.de/
MIT License
2 stars 0 forks source link

Bug: Wrong command to squash the initial commit #216

Closed fussel178 closed 2 years ago

fussel178 commented 2 years ago

URL

https://docs.telestion.wuespace.de/application/tutorials/starting-a-new-project/#step-2-import-the-template

Affected content type

What I expected

The squash command should be:

git reset --hard "$(git commit-tree 'FETCH_HEAD^{tree}' -m "feat: Initial commit")"

To prevent zsh to interpret the ^{...} as a control character.

What I instead saw

The current squash command is instead:

git reset --hard "$(git commit-tree FETCH_HEAD^{tree} -m "feat: Initial commit")"

Additional comments

No response