diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/RepositoryCommands.md | 20 |
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 +~~~ |