MORATUS Desktop
With the controls in the folder menu, you can list and select GitHub repositories and switch branches. Before switching branches, changes in the folder must be committed or stashed. Authorization for private repositories goes through Git Credential Manager.
Choosing a repository
- Open the folder menu above the composer.
- Your GitHub repositories are listed; choose the one you want to work in.
- For a private repository, authorization goes through Git Credential Manager; approve with your GitHub account when asked.
Switching branches
- Choose the branch you want from the branch control in the folder menu.
- Commit or stash the changes in the folder before switching branches.
Using git with the agent
- The agent can run git commands with
run_command; for examplegit statusto see changes andgit committo save them. - In the default approval mode, you're asked to approve terminal commands.
- Changes made by git commands aren't covered by checkpoints; use your git history to go back.
- Agent notes under
.agent-moratusare ignored by git.
Common situations
| Situation | What to do |
|---|---|
| The branch won't switch | Commit or stash pending changes, then try again. |
| A private repository can't be reached | Complete the authorization in Git Credential Manager. |
| You want to review pull requests and issues in a chat | Connect the GitHub connector (see Supported connectors). |
Frequently asked questions
- Will the agent commit or push for me? The agent can run git commands with
run_command; in the default approval mode, you're asked to approve each command. - Is the GitHub connector the same as GitHub in the folder menu? No. The folder menu chooses the repository and branch for the working folder on your computer; the GitHub connector lets you review pull requests, issues, and code changes in a chat.
- Can I undo git changes with checkpoints? No. Git commands are terminal commands; use your git history to go back.