Skip to content

Commit 4030b5d

Browse files
committed
readme updated
1 parent 6e00c07 commit 4030b5d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,16 @@ Deletes all temporary branches created by `gitti`.
107107
curl http://localhost:4000/prune/myrepo
108108
```
109109

110+
### Branches
111+
112+
Lists all remote branches of the repository as `JSON`.
113+
114+
GET /branches/:repo
115+
116+
```
117+
curl http://localhost:4000/branches/myrepo
118+
```
119+
110120
## Authorization
111121

112122
If `[auth]` is `enabled = true` in the config file, you need to provide the `token` in the `Authorization` header.

0 commit comments

Comments
 (0)