Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

* branch main -> FETCH_HEAD fatal: refusing to merge unrelated histories

git pull origin master --allow-unrelated-histories
git rebase //search for this if the other one doesn't work, only the second line did it for me
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #branch #main #refusing #merge #unrelated #histories
ADD COMMENT
Topic
Name
4+4 =