Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Source

Linux macOS Windows

Clones (or updates) a repository from the AEA Bitbucket organization and, where possible, opens VS Code in the directory with REPLICATION.md preloaded. Used during editing and sign-off.

aeagit (number|name) [method] [--no-editor | --finalize]
aeagit --all [method]

Arguments

Clipboard

After a single-repository clone or update, aeagit prints cd <repo> and copies that command to the clipboard, so it can be pasted to enter the directory. The copy is best-effort and skipped silently if no clipboard tool works:

--all does not copy anything.

Claude Code settings

When ~/.claude-aea exists, VS Code is launched with CLAUDE_CONFIG_DIR=~/.claude-aea, so the Claude Code extension uses the AEA configuration, and an info notice is printed. Otherwise a warning notes that Claude Code uses its default settings.

If a running VS Code already has a window on the repository directory (checked via code --status, by folder name), that window is reused with the settings it was started with; a warning says so and suggests closing it and rerunning.

All pre-approved cases

--all clones or updates the repository of every AEAREP ticket currently in Pre-Approved status, in ticket order. A ticket’s repository is the value of its Bitbucket short name field, falling back to the ticket key (aearep-1234) when that field is empty; a repository named by more than one ticket is processed once.

aeagit --all           # into the current directory, using the default method
aeagit --all https     # force HTTPS

No editor is opened, and a repository that fails to clone or pull does not stop the others: each is reported as it is processed, the failures are listed at the end, and the exit code is 1 if there were any.

This mode reads Jira and needs JIRA_USERNAME and JIRA_API_KEY to be set (see Authentication).