forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into update-outdated-com…
…ments-in-pull-request-label-style * origin/master: [skip ci] Updated translations via Crowdin Fix diff skipping lines (go-gitea#13154) Update go-version v1.2.3 -> v1.2.4 (go-gitea#13169) Vendor Update Go Libs (go-gitea#13166) Prevent panics with missing storage (go-gitea#13164) Improve users management through the CLI (go-gitea#6001) (go-gitea#10492) Change order of possible-owner organizations to alphabetical (go-gitea#13160) Slightly simplify the queue settings code to help reduce the risk of problems (go-gitea#12976) [Vendor] Update go-ldap to v3.2.4 (go-gitea#13163) [skip ci] Updated translations via Crowdin Update external-renderers.en-us.md (go-gitea#13165)
- Loading branch information
Showing
737 changed files
with
55,950 additions
and
26,478 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,28 +55,40 @@ Starts the server: | |
Admin operations: | ||
|
||
- Commands: | ||
- `create-user` | ||
- Options: | ||
- `--name value`: Username. Required. As of gitea 1.9.0, use the `--username` flag instead. | ||
- `--username value`: Username. Required. New in gitea 1.9.0. | ||
- `--password value`: Password. Required. | ||
- `--email value`: Email. Required. | ||
- `--admin`: If provided, this makes the user an admin. Optional. | ||
- `--access-token`: If provided, an access token will be created for the user. Optional. (default: false). | ||
- `--must-change-password`: If provided, the created user will be required to choose a newer password after | ||
- `user`: | ||
- `list`: | ||
- Options: | ||
- `--admin`: List only admin users. Optional. | ||
- Description: lists all users that exist | ||
- Examples: | ||
- `gitea admin user list` | ||
- `delete`: | ||
- Options: | ||
- `--id`: ID of user to be deleted. Required. | ||
- Examples: | ||
- `gitea admin user delete --id 1` | ||
- `create`: | ||
- Options: | ||
- `--name value`: Username. Required. As of gitea 1.9.0, use the `--username` flag instead. | ||
- `--username value`: Username. Required. New in gitea 1.9.0. | ||
- `--password value`: Password. Required. | ||
- `--email value`: Email. Required. | ||
- `--admin`: If provided, this makes the user an admin. Optional. | ||
- `--access-token`: If provided, an access token will be created for the user. Optional. (default: false). | ||
- `--must-change-password`: If provided, the created user will be required to choose a newer password after | ||
the initial login. Optional. (default: true). | ||
- ``--random-password``: If provided, a randomly generated password will be used as the password of | ||
- ``--random-password``: If provided, a randomly generated password will be used as the password of | ||
the created user. The value of `--password` will be discarded. Optional. | ||
- `--random-password-length`: If provided, it will be used to configure the length of the randomly | ||
- `--random-password-length`: If provided, it will be used to configure the length of the randomly | ||
generated password. Optional. (default: 12) | ||
- Examples: | ||
- `gitea admin create-user --username myname --password asecurepassword --email [email protected]` | ||
- `change-password` | ||
- Options: | ||
- `--username value`, `-u value`: Username. Required. | ||
- `--password value`, `-p value`: New password. Required. | ||
- Examples: | ||
- `gitea admin change-password --username myname --password asecurepassword` | ||
- Examples: | ||
- `gitea admin create-user --username myname --password asecurepassword --email [email protected]` | ||
- `change-password`: | ||
- Options: | ||
- `--username value`, `-u value`: Username. Required. | ||
- `--password value`, `-p value`: New password. Required. | ||
- Examples: | ||
- `gitea admin change-password --username myname --password asecurepassword` | ||
- `regenerate` | ||
- Options: | ||
- `hooks`: Regenerate git-hooks for all repositories | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.