Sign Up

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Captcha Click on image to update the captcha.

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Captcha Click on image to update the captcha.

Have an account? Sign In Now

You must login to ask question.

Captcha Click on image to update the captcha.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

Designers & Developers Learn, Share, & Build Careers

Designers & Developers Learn, Share, & Build Careers Logo Designers & Developers Learn, Share, & Build Careers Logo

Designers & Developers Learn, Share, & Build Careers Navigation

  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Communities
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Home
  • About Us
  • Blog
  • Contact Us
Home/ Questions/Q 265
In Process
Harish
Harish

Harish

  • 13 Questions
  • 14 Answers
  • 0 Best Answers
  • 23 Points
View Profile
  • 0
Harish
Asked: December 30, 20192019-12-30T17:47:54+00:00 2019-12-30T17:47:54+00:00In: Git

git pull – fatal: refusing to merge unrelated histories

  • 0

Have a problem with git pull origin master, getting error like below

From gitlab.com:mohan/sqnew
 * branch            master     -> FETCH_HEAD
fatal: refusing to merge unrelated histories

Does anyone have a solution?

git mergegit pullgit refusingunrelated histories
  • 2 2 Answers
  • 668 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    2 Answers

    • Voted
    • Oldest
    • Recent
    1. Siva

      Siva

      • 12 Questions
      • 14 Answers
      • 0 Best Answers
      • 21 Points
      View Profile
      Siva
      2019-12-30T17:55:49+00:00Added an answer on December 30, 2019 at 5:55 pm

      Try the following command

      git pull origin master --allow-unrelated-histories
      
      • 2
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
      • Harish

        Harish

        • 13 Questions
        • 14 Answers
        • 0 Best Answers
        • 23 Points
        View Profile
        Harish
        2019-12-30T18:02:09+00:00Replied to answer on December 30, 2019 at 6:02 pm

        Yes now it’s working perfectly thank you 😀

        • 0
        • Reply
        • Share
          Share
          • Share on Facebook
          • Share on Twitter
          • Share on LinkedIn
          • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse
    Captcha Click on image to update the captcha.

    Sidebar

    Ask A Question

    Top Members

    Recent Comments

    • Dhinesh on How to remove comma between Tag names in WordPress
    • Siva on How to generate components in a specific folder with Angular
    • Dhinesh on How to disable or hide the resizable property of a textarea?
    • Siva on where to import hammerjs in Angular
    • Siva on How to increase count OnClick using jQuery

    Questions Categories

    Python
    MySQL
    Oracle
    Objective-C
    .NET Framework

    Explore

    • Home
    • Communities
    • Polls
    • Tags
    • Badges
    • Users
    • Help

    Footer

    Ask Rezourze

    Ask Rezourze is a social questions & Answers Engine which will help you establish your community and connect with other people.

    Terms & Policy

    • Terms of Service
    • Privacy Policy
    • FAQs

    Follow

    © 2021 Rezourze. All Rights Reserved.