Difference between revisions of "Git merge origin/main"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
  [[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]]
 +
CONFLICT (add/add): Merge conflict in [[.gitignore]]
 +
Auto-merging .gitignore
 +
Automatic merge failed; fix conflicts and then commit the result.
 +
 +
== Related ==
 +
* <code>[[git merge main]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 18:42, 1 December 2021

Advertising: