0

fatal: refusing to merge unrelated histories

when i try to push my file into git server it shows below error.....?

shane@my-pc MINGW64 /e/git-pjt (master)
$ git pull origin master
From ssh://192.168.7.208:27692/shane/linuxpjt
* branch master -> FETCH_HEAD
fatal: refusing to merge unrelated histories

shanemichel
asked Nov 22, 2017
2 Answer
2

just follow below step to overcome this issue.......!

git checkout master

# gitmerege origin/master --allow-unrelated-histories

# git add filename .

# git commit

# git push origin master
View More
arunkumarak
answered Nov 23, 2017
0

The Following Commands will help Fixing the Issue

#gitmerege origin/master --allow-unrelated-histories

#git add filename .

#git commit

#git push origin master

View More
linuxhelp
answered Jan 29, 2019
Your Answer
||||
 
100:0

Related News in fatal: refusing to merge unrelated histories

Related News in fatal: refusing to merge unrelated histories