From e99084a952b5c872d2a90c3b2b422ba7b98d0903 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 8 Sep 2018 17:45:11 +0200 Subject: Add commit template --- doc/RepositoryCommands.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'doc') 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 - +~~~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 +~~~ -- cgit v1.2.1