Documentationv1.4.0
scan
Predictive conflict detection before the merge happens.
scanbash
$gitresolve scan --target main
The scan command is your early-warning system. By leveraging git merge-tree, it simulates a merge between your current HEAD and a target branch to find potential overlaps before you even run a merge command.
output
Scanning for potential conflicts against main...
Potential conflicts detected: 2 files/blocks.
⚠ Conflict (modify/modify): internal/db/schema.go
⚠ Conflict (add/add): config/default.yaml
Command Options
--target <branch>The target branch to compare against (defaults to main).