Connect Repository — Avora CLI
Clone a Git repository, register its local location, prepare dependencies, and run it from one command.
Task
Connect a repository URL to Avora CLI for repeatable update, run, and verify commands.
Prerequisites
- Git is installed.
- Your current SSH key or credential helper can access the repository.
- The target directory is writable.
Find This in Your Terminal
avora connect <repo-url>
Steps
- Run
connectwith an HTTPS or SSH repository URL. - The CLI derives the local project name from the repository. Use
--nameto override it. - By default, the clone is created under
./pulled-projects/PROJECT_NAME. Use--pathto choose another parent directory. - If the destination already contains the same Git repository, confirm a fast-forward-only pull or add
--update. - The CLI prepares dependencies and runs the project unless you add
--no-run.
avora connect git@github.com:org/app.git --name app --no-run
avora connect https://github.com/org/app.git --path ./projects --update
Expected Result
The repository is cloned or updated, registered as a Git project, and optionally started with a detected or explicit run command.
Next Step
Use Sync Repository, Run Project, or Verify Project.
Troubleshooting
- If authentication fails, test the same repository URL with
git cloneand repair your Git credentials. - If the destination has a different remote, choose another path or repository name. The CLI refuses to update a mismatched remote.
- If the pull cannot fast-forward, resolve the branch history with Git before retrying.