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