docs: expanded readme
This commit is contained in:
parent
f279f1dfa7
commit
fb9a8a5c79
1 changed files with 13 additions and 2 deletions
15
readme.md
15
readme.md
|
|
@ -28,11 +28,21 @@ Gitea:
|
||||||
```
|
```
|
||||||
gogitlabber -backend=gitea -destination=$HOME/Documents -git-url=gitea.example.com
|
gogitlabber -backend=gitea -destination=$HOME/Documents -git-url=gitea.example.com
|
||||||
-git-api-token=supersecrettoken
|
-git-api-token=supersecrettoken
|
||||||
|
100% [====================] (30/30) Pulling repository username/reponame ...
|
||||||
|
Summary:
|
||||||
|
Cloned repositories: 0
|
||||||
|
Pulled repositories: 30
|
||||||
|
Errors: 0
|
||||||
```
|
```
|
||||||
Gitlab:
|
Gitlab:
|
||||||
```
|
```
|
||||||
gogitlabber -backend=gitlab -destination=$HOME/Documents -git-url=gitlab.example.com
|
gogitlabber -backend=gitlab -destination=$HOME/Documents -git-url=gitlab.example.com
|
||||||
-git-api-token=supersecrettoken
|
-git-api-token=supersecrettoken
|
||||||
|
100% [====================] (30/30) Pulling repository username/reponame ...
|
||||||
|
Summary:
|
||||||
|
Cloned repositories: 0
|
||||||
|
Pulled repositories: 30
|
||||||
|
Errors: 0
|
||||||
```
|
```
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
@ -80,10 +90,11 @@ Usage of gogitlabber:
|
||||||
(default "gitlab.com")
|
(default "gitlab.com")
|
||||||
```
|
```
|
||||||
|
|
||||||
# Gitea
|
# Access Token Permissions
|
||||||
|
## Gitea
|
||||||
Make sure the Gitea Access Token has at least the following permissions:
|
Make sure the Gitea Access Token has at least the following permissions:
|
||||||
- user - read
|
- user - read
|
||||||
- repository - read
|
- repository - read
|
||||||
|
|
||||||
# Gitlab
|
## Gitlab
|
||||||
Make sure the Gitlab Access Token has the `api` scope.
|
Make sure the Gitlab Access Token has the `api` scope.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue