“Git executable not found”
What you see:
Why it happens: Git is not installed on your computer.
How to fix:
- Go to https://git-scm.com/
- Download and install Git
- Close and reopen your terminal
- Try again
”Local repository does not exist”
What you see:
Why it happens: You’re trying to run a command like ag save or ag info in a folder that doesn’t have a project set up yet.
How to fix:
- If you’re starting a new project:
ag init "Project Name"
- If you’re joining an existing project:
ag fetch <project-url>
”This command is unavailable while actively using ‘anchor4git goto’”
What you see:
Why it happens: You used ag goto --stay and now you’re on an old version. Most commands (save, fetch, upload) can’t run while you’re in this state to prevent data loss.
How to fix:
Then try your command again.
Upload fails with “Resolve conflicts before uploading”
What you see:
Why it happens: You have unresolved merge conflicts in your files.
How to fix:
- Open each listed file in your editor
- Find the conflict markers (
<<<<<<<, =======, >>>>>>>)
- Edit to keep what you want and remove the markers
- Save the file
- Run
ag save
- Run
ag upload
Upload fails with “You’re behind by N save(s)”
What you see:
Why it happens: Your team has made changes that you haven’t downloaded yet.
How to fix:
“Nothing to save. Workspace is clean.”
What you see:
Why it happens: You haven’t made any changes since the last save.
What it means: Everything is already saved — nothing to do!
”Invalid commit ‘abc1234’”
What you see:
Why it happens: The save ID you used with ag goto doesn’t exist.
How to fix:
- Run
ag info to see the full save history
- Copy the exact save ID from the list
- Try again
”Origin repository not initialised”
What you see:
Why it happens: You ran ag upload but Anchor4Git doesn’t know the origin repository project address yet.
How to fix:
Or edit the config:
Then add the origin_url field.
”Origin repository is empty”
What you see:
Why it happens: The project exists but has no files yet.
What to do:
- Add your files
ag save "Initial work"
ag upload
You’ll be the first to populate the project!
Conflicts after ag fetch
What you see: Conflict markers (<<<<<<<) in your files after running ag fetch.
Why it happens: You and a teammate both changed the same part of the same file.
How to fix:
- Open each conflicted file in your editor
- Find the markers and decide what to keep
- Remove all markers
- Save the file
ag save
See Workflows for a detailed guide.
Still stuck?
If none of these help, try:
- Run with
--preview first — Most commands have a --preview flag that shows what will happen without doing it. This can help you understand what’s going on.
- Check your dashboard —
ag info shows the full status of your project.
- Ask your team lead — They can help with project-specific issues.
- Report a bug — Open an issue at Anchor4Git Github Issues
Last modified on July 19, 2026