Fetches and merges the latest git changes from the remote repository. This is the recommended entry point at the start of each work session to ensure the local state is current before syncing or writing tables.
Arguments
- conn
A
datom_connobject fromdatom_get_conn().
Value
Invisibly, a list with:
commits_pulledInteger count of new commits merged.
branchCurrent branch name.
Details
Git is the source of truth for all metadata (manifest, dispatch, table metadata). The manifest and other metadata files live in git and are pulled along with any other committed changes.
Requires developer role (readers have no git access).
Examples
if (FALSE) { # \dontrun{
conn <- datom_get_conn("path/to/repo")
datom_pull(conn)
#> ✔ Pulled 2 commits on main.
} # }