summaryrefslogtreecommitdiff
path: root/doc/forum/How_to_overwrite_local_changes__63__/comment_1_1753d8c7a0daf04b64d639567a349190._comment
blob: f762c0445080e52d637f8cf5e0f3b5cfa163f68d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2015-07-06T18:51:43Z"
 content="""
Sorry that nobody answered your question until now..

These .variant files preserve both versions of the files that were
committed in the two different repositories. If you can identify which
variant you don't want, you can just delete that one, and rename the other
.variant file back to the original file name.

There's no really great way to tell which variant is which. 
I'd look at the contents of the variants of the file, unless there are
too many files to look at.

Another approach is to look at the git log, find the commit that merged
the unwanted changed (and created these variant files), and `git revert` that
merge, and the earlier commit that was made accidentially.
"""]]