Ask for SSH or HTTPS
This commit is contained in:
@@ -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