diff options
-rw-r--r-- | doc/forum/How_to_overwrite_local_changes__63__/comment_1_1753d8c7a0daf04b64d639567a349190._comment | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/forum/How_to_overwrite_local_changes__63__/comment_1_1753d8c7a0daf04b64d639567a349190._comment b/doc/forum/How_to_overwrite_local_changes__63__/comment_1_1753d8c7a0daf04b64d639567a349190._comment new file mode 100644 index 000000000..f762c0445 --- /dev/null +++ b/doc/forum/How_to_overwrite_local_changes__63__/comment_1_1753d8c7a0daf04b64d639567a349190._comment @@ -0,0 +1,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. +"""]] |