InfraLoka AcademyPathwayAI
PathwayAI

Module 2 · Daily workflows

One task, one worktree, commits with explicit paths

4 min read5 min readReviewed 26 October 2026

In short

Give each task or agent its own worktree and branch. Read the status before committing, add files by explicit path, never add-all. Remove the worktree and branch when done.

After this lesson you can

  • Use a separate worktree and branch for each task or agent working in parallel
  • Make commits by naming file paths one by one after reading the repository status
  • Clean up worktrees and branches after a task is merged or dropped

Sign in to read this lesson

The title and summary are open to everyone. The full lesson is for signed-in learners.