From 8fd58ccf505cb9c81bc462f86ab92adcd293c687 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 6 Jul 2015 14:56:19 -0400 Subject: response --- ...mment_1_1753d8c7a0daf04b64d639567a349190._comment | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/forum/How_to_overwrite_local_changes__63__/comment_1_1753d8c7a0daf04b64d639567a349190._comment 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. +"""]] -- cgit v1.2.3