Skip to content

Proposal: teach 'git lfs checkout' --{theirs,ours,base} #3258

Closed

Description

@ttaylorr

From some discussion upstream in https://public-inbox.org/git/[email protected]/, it was suggested that:

Combining changes is inherently file-format specific, and I suspect
that native authoring tools are best used in those scenarios.
Maybe LFS can help deal with binary conflicts by having short and sweet
ways to grab the "base", "their" and "our" versions of the conflict
files.

Example:

git lfs checkout --theirs --to theirs.wav conflict.wav
git lfs checkout --ours --to ours.wav conflict.wav
git lfs checkout --base --to base.wav conflict.wav

Then the user can use {ours,theirs,base}.wav to produce the
resolved result using their usual authoring tools.

/cc @git-lfs/core

Activity

  1. added this to the v2.6.0 milestone on Sep 17, 2018
  2. deleted a comment from on Sep 17, 2018
  3. bk2204 commented on Sep 17, 2018

    @bk2204
    Member

    Yes, I agree that would be a good idea. Let’s do it.

  4. self-assigned this
    on Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions