aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-09-08 17:45:11 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-09-08 18:13:10 +0200
commite99084a952b5c872d2a90c3b2b422ba7b98d0903 (patch)
tree9c1c00786c1ee923dc8d4f7b7165b80314a6d9f1 /doc
parentSave WebProfile config when changed (diff)
downloadsmolbote-e99084a952b5c872d2a90c3b2b422ba7b98d0903.tar.xz
Add commit template
Diffstat (limited to 'doc')
-rw-r--r--doc/RepositoryCommands.md20
1 files changed, 14 insertions, 6 deletions
diff --git a/doc/RepositoryCommands.md b/doc/RepositoryCommands.md
index 6255214..3725b6e 100644
--- a/doc/RepositoryCommands.md
+++ b/doc/RepositoryCommands.md
@@ -1,8 +1,16 @@
-## Official documentation
-From https://www.mercurial-scm.org/wiki/HttpCommandProtocol
+## git commit template
+You can set the commit template with:
-## branchmap
-$ curl "https://neueland.iserlohn-fortress.net/smolbote.hg/?cmd=branchmap"
-default 197043ea8aac871126694366203ffabd7ae03935
-<branchname> <node>
+~~~sh
+git config commit.template=.git-commit-template
+~~~
+
+## gitea api
+A full list of the api can be found on https://try.gitea.io/api/swagger.
+
+## Listing branches
+
+~~~sh
+curl --request GET --url https://neueland.iserlohn-fortress.net/gitea/api/v1/repos/aqua/smolbote/branches
+~~~