diff options
Diffstat (limited to 'docs/content/doc/usage')
-rw-r--r-- | docs/content/doc/usage/backup-and-restore.en-us.md | 8 | ||||
-rw-r--r-- | docs/content/doc/usage/command-line.en-us.md | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/docs/content/doc/usage/backup-and-restore.en-us.md b/docs/content/doc/usage/backup-and-restore.en-us.md index fb0216cd1f..fcb669b836 100644 --- a/docs/content/doc/usage/backup-and-restore.en-us.md +++ b/docs/content/doc/usage/backup-and-restore.en-us.md @@ -15,7 +15,7 @@ menu: # Backup and Restore -Gitea currently has a `dump` command that will save the installation to a zip file. This +Gitea currently has a `dump` command that will save the installation to a ZIP file. This file can be unpacked and used to restore an instance. **Table of Contents** @@ -40,7 +40,7 @@ Inside the `gitea-dump-1482906742.zip` file, will be the following: - `app.ini` - Optional copy of configuration file if originally stored outside of the default `custom/` directory - `custom` - All config or customization files in `custom/`. -- `data` - Data directory in <GITEA_WORK_DIR>, except sessions if you are using file session. This directory includes `attachments`, `avatars`, `lfs`, `indexers`, sqlite file if you are using sqlite. +- `data` - Data directory in <GITEA_WORK_DIR>, except sessions if you are using file session. This directory includes `attachments`, `avatars`, `lfs`, `indexers`, SQLite file if you are using SQLite. - `gitea-db.sql` - SQL dump of database - `gitea-repo.zip` - Complete copy of the repository directory. - `log/` - Various logs. They are not needed for a recovery or migration. @@ -90,8 +90,8 @@ psql -U $USER -d $DATABASE < gitea-db.sql service gitea restart ``` -Repository git-hooks should be regenerated if installation method is changed (eg. binary -> Docker), or if Gitea is installed to a different directory than the previous installation. +Repository Git Hooks should be regenerated if installation method is changed (eg. binary -> Docker), or if Gitea is installed to a different directory than the previous installation. With Gitea running, and from the directory Gitea's binary is located, execute: `./gitea admin regenerate hooks` -This ensures that application and configuration file paths in repository git-hooks are consistent and applicable to the current installation. If these paths are not updated, repository `push` actions will fail. +This ensures that application and configuration file paths in repository Git Hooks are consistent and applicable to the current installation. If these paths are not updated, repository `push` actions will fail. diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md index 5e794b56c2..d1938ebccc 100644 --- a/docs/content/doc/usage/command-line.en-us.md +++ b/docs/content/doc/usage/command-line.en-us.md @@ -101,7 +101,7 @@ Admin operations: - `gitea admin user change-password --username myname --password asecurepassword` - `regenerate` - Options: - - `hooks`: Regenerate git-hooks for all repositories + - `hooks`: Regenerate Git Hooks for all repositories - `keys`: Regenerate authorized_keys file - Examples: - `gitea admin regenerate hooks` @@ -129,7 +129,7 @@ Admin operations: - `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub). - `--custom-email-url`: Use a custom Email URL (option for GitHub). - `--icon-url`: Custom icon URL for OAuth2 login source. - - `--override-local-2fa`: Allow source to override local 2fa. (Optional) + - `--override-local-2fa`: Allow source to override local 2FA. (Optional) - `--scopes`: Addtional scopes to request for this OAuth2 source. (Optional) - `--required-claim-name`: Claim name that has to be set to allow users to login with this source. (Optional) - `--required-claim-value`: Claim value that has to be set to allow users to login with this source. (Optional) @@ -152,7 +152,7 @@ Admin operations: - `--custom-profile-url`: Use a custom Profile URL (option for GitLab/GitHub). - `--custom-email-url`: Use a custom Email URL (option for GitHub). - `--icon-url`: Custom icon URL for OAuth2 login source. - - `--override-local-2fa`: Allow source to override local 2fa. (Optional) + - `--override-local-2fa`: Allow source to override local 2FA. (Optional) - `--scopes`: Addtional scopes to request for this OAuth2 source. - `--required-claim-name`: Claim name that has to be set to allow users to login with this source. (Optional) - `--required-claim-value`: Claim value that has to be set to allow users to login with this source. (Optional) @@ -479,7 +479,7 @@ Manage running server operations: ### dump-repo -Dump-repo dumps repository data from git/github/gitea/gitlab: +Dump-repo dumps repository data from Git/GitHub/Gitea/GitLab: - Options: - `--git_service service` : Git service, it could be `git`, `github`, `gitea`, `gitlab`, If clone_addr could be recognized, this could be ignored. |