aboutsummaryrefslogtreecommitdiffstats
path: root/git.sr.ht
diff options
context:
space:
mode:
authorSumner Evans <me@sumnerevans.com>2021-02-18 11:07:55 -0700
committerDrew DeVault <sir@cmpwn.com>2021-02-18 18:05:56 -0500
commit40d4860f6f2969163c05b81cf0236085cc44fdb3 (patch)
treeb293f25c4ea35febc7e483119b5d238aa4bb9f1b /git.sr.ht
parent151410b8a377c95bf7d6c18673995bb9e618838e (diff)
downloadsr.ht-docs-40d4860f6f2969163c05b81cf0236085cc44fdb3.tar.gz
Add instructions for removing custom README
Diffstat (limited to 'git.sr.ht')
-rw-r--r--git.sr.ht/index.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/git.sr.ht/index.md b/git.sr.ht/index.md
index ea96550..1a6895e 100644
--- a/git.sr.ht/index.md
+++ b/git.sr.ht/index.md
@@ -178,5 +178,11 @@ another markup format and submit it on each git push. If so, you will need to
review the [build secrets tutorial][secrets] to safely store your OAuth token.
Check out the [example][readme example] to avoid some common pitfalls.
+If you want to remove the custom README, set the `readme` to `null`.
+
+```
+mutation { updateRepository (id: <repo_id>, input: { readme: null }) { id } }
+```
+
[secrets]: https://man.sr.ht/tutorials/builds.sr.ht/using-build-secrets.md
[readme example]: https://git.sr.ht/~nabijaczleweli/html-readme