Update to use ssh
This commit is contained in:
11
README.md
11
README.md
@@ -102,19 +102,24 @@ gitea-creator <repository-name> [options]
|
||||
|
||||
- `-p, --public`: Create a public repository (non-private)
|
||||
- `-d, --description <description>`: Add a description to the repository
|
||||
- `--https`: Use HTTPS URL instead of SSH URL (SSH is default)
|
||||
- `-c, --config`: Show configuration setup instructions
|
||||
- `-h, --help`: Display help information
|
||||
|
||||
### Examples
|
||||
|
||||
```bash
|
||||
# Create a private repository
|
||||
# Create a private repository (SSH URL by default)
|
||||
gitea-creator my-new-repo
|
||||
|
||||
# Create a public repository with description
|
||||
gitea-creator my-public-repo --public --description "My awesome project"
|
||||
|
||||
# Short form
|
||||
gitea-creator my-repo -p -d "Short description"
|
||||
# Create with HTTPS URL instead of SSH
|
||||
gitea-creator my-repo --https
|
||||
|
||||
# Combine options
|
||||
gitea-creator my-repo -p -d "Short description" --https
|
||||
|
||||
# Get configuration help
|
||||
gitea-creator --config
|
||||
|
||||
Reference in New Issue
Block a user