Skip to content
← All release notesNewanfra0.20.0

Publish with your team: anfra pull and anfra publish status

`anfra pull` merges what others published to your organization into your folder, and `anfra publish` stops before it would replace their work unseen.

A publish replaces everything the organization has. So when someone has published since your folder last pulled or published, anfra publish stops with pull_required, unless their changes are already in your folder.

anfra publish status   # what a pull would bring in, and what a publish would send
anfra pull             # merge what others published
anfra publish --pull   # pull, then publish, in one step

anfra pull merges file by file. Where you and a colleague changed the same lines, the file gets conflict markers that name who published the other side and when. Resolve them by hand, or keep one side's whole file with anfra pull --take local <path> or --take org <path>. anfra pull --abort undoes the pull.

To join a repo the organization already publishes, run anfra init, then anfra pull --set-org https://us.anfra.ai/o/<org>.

With git

If your team shares work in git, merge to your shared branch and publish from it. anfra publish warns when you're on another branch, or have commits not pushed or files not committed, but never refuses for it. The anfra-publish skill walks your agent through both ways.

Full changelog (opens in a new tab)