Skip to content

Instantly share code, notes, and snippets.

@litanur
Created March 16, 2019 06:31
Show Gist options
  • Save litanur/a3a8d42acd79b86ebbb19298776ac55a to your computer and use it in GitHub Desktop.
Save litanur/a3a8d42acd79b86ebbb19298776ac55a to your computer and use it in GitHub Desktop.
list of error and the way to fix it
Error Message:
"refusing to merge unrelated histories"
Fix:
git checkout master
git merge origin/master --allow-unrelated-histories
git add -A .
git commit -m "Upload"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment