work pull
Fetches the latest changes from the target branch (default: main) and rebases the current branch onto it, keeping your commit history linear.
This command:
- Fetches latest changes from origin/main
- Rebases your commits on top of the fetched changes
- Handles conflicts with clear instructions
Use --autostash to automatically stash uncommitted changes before rebasing.
Use --debug to enable detailed logging to out/logs/work/.
Usage: work pull [flags]
| Flag | Description |
|---|---|
--target <string> (optional, default: main) |
Target branch to rebase onto |
--autostash (optional, default: false) |
Automatically stash and unstash uncommitted changes |
--no-fetch (optional, default: false) |
Skip fetching from remote (use local target branch) |
-d, --debug (optional, default: false) |
Enable debug logging |
Expected Output:
- Branch rebased onto latest target
- Conflict instructions if conflicts occur
See Also
Tutorials | How-to Guides | Explanation | Reference
You are here: Reference — information-oriented technical descriptions of the system.