Skip to content

Instantly share code, notes, and snippets.

@masdeseiscaracteres
Last active September 18, 2023 14:46
Show Gist options
  • Save masdeseiscaracteres/4b0fe924ca0ab8f626fa2c42099e46cb to your computer and use it in GitHub Desktop.
Save masdeseiscaracteres/4b0fe924ca0ab8f626fa2c42099e46cb to your computer and use it in GitHub Desktop.
Solving git conflicts
  • Keep target/current branch changes: git checkout --ours my/file.ext
  • Keep contributing branch changes: git checkout --theirs my/file.ext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment