Sync Repository — Avora CLI
Clone or refresh a repository URL, or update the Git repository that contains your current terminal directory.
Task
Use one command for initial clone and later fast-forward synchronization.
Prerequisites
- Git is installed and authenticated for the target repository.
- Existing project changes are committed, stashed, or intentionally retained.
Find This in Your Terminal
With a repository URL:
avora sync git@github.com:org/app.git
From inside an existing Git project:
cd /path/to/project
avora sync
Steps
- Supply a URL for a new or named clone, or omit it inside an existing Git working tree.
- Confirm the update when the local repository already exists.
- The CLI runs
git pull --ff-onlyso it will not create a merge commit. - Dependency preparation and auto-run follow unless
--no-runis supplied. - Use
--cmdwhen automatic run-command detection is not suitable.
Expected Result
The repository is current with its configured remote, the tracked record has a new synchronization time, and the project runs unless auto-run was disabled.
Next Step
Use Find Projects to inspect the registry or Verify Project to check the result.
Troubleshooting
- If
synchas no URL and reports that it requires one, run it from inside a Git repository. - If fast-forward pull fails, inspect
git statusand your branch history. - If the current repository is untracked, the CLI can still resolve its Git root and register it after a successful sync.