Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs(contributing): warn before git reset --hard in the line-ending refresh

time-attack5bea9d51c94f
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 518297e994..6f3fc464cf 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -29,7 +29,9 @@ failure is silent: no error, the field just comes back empty.
If you cloned before either pin existed, your working copy still has the old
Windows line endings. Bash will fail with `$'\r': command not found`, and
-frontmatter will read as absent. Refresh it once, from the repository root:
+frontmatter will read as absent. Refresh it once, from the repository root.
+`git reset --hard` discards uncommitted changes, so commit them or run
+`git stash -u` first.
```bash
git rm --cached -r . -q