git me dice que fusiono conflicto, pero también me dice que no es necesario fusionar archivos
He cometido algunos cambios en la sucursal.new
.
Me pago amaster
.
Cuando intenté fusionarme
$ git merge new
Auto-merging js/site.js
CONFLICT (content): Merge conflict in js/site.js
Automatic merge failed; fix conflicts and then commit the result.
Así que instalé kdiff3 y configuré mis archivos de configuración y cuando intenté usar mergetools obtuve:
$ git mergetool kdiff3
No files need merging
Corrí un diff y resultó esto:
diff --cc js/site.js
index 8c17d62,7955b13..0000000
--- a/js/site.js
+++ b/js/site.js
@@@ -72,4 -81,18 +81,22 @@@ function doSmallScreen()
$(document).ready(function () {
calculateScreen();
- });
++<<<<<<< HEAD
++});
++=======
+ $(window).resize(function () {
+ delay(function () {
+ calculateScreen();
+ }, 500);
+ });
+ });
+
+
+ var delay = (function () {
+ var timer = 0;
+ return function (callback, ms) {
+ clearTimeout(timer);
+ timer = setTimeout(callback, ms);
+ };
-})();
++})();
++>>>>>>> new
Estoy confundido en cuanto a cómo resolver esto, quiero resolverlo de la manera más sencilla posible, realmente no me importa si pierdo la información de la sucursal nueva, pero quiero entender qué salió mal y por qué puedo ' t utilizar las herramientas de combinación.
A mí me parece extraño que tenga un conflicto de fusión, pero no es necesario fusionar ningún archivo.