aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index c2c7d5f..6fb8f7d 100644
--- a/README.md
+++ b/README.md
@@ -104,6 +104,14 @@ files onto the server by hand: what runs should always be a commit.
git push prod HEAD:prod && git push origin HEAD:master
```
+## Rolling back
+
+The previous deploy is the previous commit: `git revert` and push, or push an
+older commit to `prod` (`git push -f prod <commit>:prod`). `names` reads its
+SQLite state either way. Before the SQLite change, the JSON file it was
+imported from is still in the data directory, but it stops at the moment of
+the import.
+
## Tests
```sh