When executing git fetchor there get pullmay be a conflict. Is there a way to get copies of all conflicting files? For example, the file foo.datis in conflict, then I would like to have copies of foo.dat.oursand foo.dat.theirs. I think SVN has similar behavior.
- Get conflicting file names
git diff --name-only --diff-filter=U - Submit a copy with
.ourspostfix ( xargs cp) - Get a copy of them?
source
share