diff options
author | Sumner Evans <me@sumnerevans.com> | 2021-02-18 11:07:55 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2021-02-18 18:05:56 -0500 |
commit | 40d4860f6f2969163c05b81cf0236085cc44fdb3 (patch) | |
tree | b293f25c4ea35febc7e483119b5d238aa4bb9f1b | |
parent | 151410b8a377c95bf7d6c18673995bb9e618838e (diff) | |
download | sr.ht-docs-40d4860f6f2969163c05b81cf0236085cc44fdb3.tar.gz |
Add instructions for removing custom README
-rw-r--r-- | git.sr.ht/index.md | 6 |
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 |