Skip to content
go-libfossil Artifact [5728ce9c7a]
Login

Artifact [5728ce9c7a]

Artifact 5728ce9c7a35d86ca43b0af86030a7c8486e94b237954b36ae194b1fbb73183d:


---
title: 'repo conflicts'
weight: 280
generated: true
description: 'List/manage unresolved conflicts'
---

<!-- Generated by scripts/gen-cli-docs.sh from the libfossil --help output. Do not edit; change the help text in cli/ and run make docs-gen. -->

```text
Usage: libfossil repo conflicts <command> [flags]

List/manage unresolved conflicts

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output

  -d, --dir="."        Checkout directory

Commands:
  repo conflicts ls [flags]
    List all conflicts

  repo conflicts show <file> [flags]
    Show all versions of a conflicted file

  repo conflicts pick <file> [flags]
    Resolve by picking one version

  repo conflicts merge <file> [flags]
    Resolve by re-merging with a different strategy

  repo conflicts extract <file> [flags]
    Extract all versions to disk for manual editing
```

## repo conflicts ls

```text
Usage: libfossil repo conflicts ls [flags]

List all conflicts

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output

  -d, --dir="."        Checkout directory
```

## repo conflicts show

```text
Usage: libfossil repo conflicts show <file> [flags]

Show all versions of a conflicted file

Arguments:
  <file>    Conflicted file to show

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output

  -d, --dir="."        Checkout directory
```

## repo conflicts pick

```text
Usage: libfossil repo conflicts pick <file> [flags]

Resolve by picking one version

Arguments:
  <file>    Conflicted file to resolve

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output

  -d, --dir="."        Checkout directory

      --local          Keep local version
      --remote         Keep remote version
      --base           Revert to base version
  -d, --dir="."        Checkout directory
```

## repo conflicts merge

```text
Usage: libfossil repo conflicts merge <file> [flags]

Resolve by re-merging with a different strategy

Arguments:
  <file>    Conflicted file to re-merge

Flags:
  -h, --help                    Show context-sensitive help.
  -R, --repo=STRING             Path to repository file
  -v, --verbose                 Verbose output

  -d, --dir="."                 Checkout directory

      --strategy="three-way"    Strategy to use
  -d, --dir="."                 Checkout directory
```

## repo conflicts extract

```text
Usage: libfossil repo conflicts extract <file> [flags]

Extract all versions to disk for manual editing

Arguments:
  <file>    Conflicted file to extract

Flags:
  -h, --help           Show context-sensitive help.
  -R, --repo=STRING    Path to repository file
  -v, --verbose        Verbose output

  -d, --dir="."        Checkout directory

  -d, --dir="."        Output directory
```