Fix $commit substitution in contributing example (#34)

This commit is contained in:
Zanie Blue 2025-05-05 13:08:30 -05:00 committed by GitHub
parent 34253b1d46
commit d8a913d0d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ To commit the changes:
commit=$(git -C ruff rev-parse --short HEAD)
git switch -c "sync/ruff-${commit}"
git add ruff
git commit -m 'Update ruff submodule to https://github.com/astral-sh/ruff/commit/${commit}'
git commit -m "Update ruff submodule to https://github.com/astral-sh/ruff/commit/${commit}"
```
To restore the Ruff submodule to a clean-state, reset, then update the submodule: