Ask for SSH or HTTPS
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@
|
||||
- Gitea via HTTPS API and token-authenticated initial push.
|
||||
- Executes provider-specific connection to existing remote repositories:
|
||||
- GitHub by resolving owner or URL input to `origin`.
|
||||
- Gitea by resolving owner and base URL or URL input to `origin`.
|
||||
- Gitea by resolving owner, base URL, and SSH/HTTPS transport or full URL input to `origin`.
|
||||
- Implements file selection for staged and unstaged operations.
|
||||
|
||||
## Public API and Contracts
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
- Chooses provider: GitHub or Gitea.
|
||||
- GitHub accepts `owner/name` or full clone URL input.
|
||||
- Gitea accepts `owner/name` or full clone URL input, and uses `GITEA_URL` or `GITEA_BASE_URL` defaults when a base URL is needed.
|
||||
- For Gitea `owner/name` input, chooses SSH (the default) or HTTPS transport. SSH uses `GITEA_SSH_USER` (default `git`) and optional `GITEA_SSH_PORT`; HTTPS uses the configured Git credential helper.
|
||||
- Configures remote `origin` to the selected repository URL.
|
||||
- Optionally pushes current branch with upstream tracking (`git push -u origin <branch>`).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user