Difference between revisions of "Git merge origin/main"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  [[git merge]] [[origin]]/main
 
  [[git merge]] [[origin]]/main
 
  fatal: refusing to merge unrelated histories
 
  fatal: refusing to merge unrelated histories
 
  
 
  [[git merge origin/main --allow-unrelated-histories]]
 
  [[git merge origin/main --allow-unrelated-histories]]
Line 10: Line 9:
 
  Automatic merge failed; fix conflicts and then commit the result.
 
  Automatic merge failed; fix conflicts and then commit the result.
  
[[git merge main]]
+
<code>[[git merge main]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 13:35, 19 October 2021

Advertising: