01 May 2020

GIT Fatal: Refusing To Merge Unrelated Histories

NTFS... kirain selama ini baik2 aja, pas dicek di github, eeh, kaga pernah ke push... cuma di vcs local doang... hadeuh


Sintaks ngepull n push biasa gagal total, ternyata harus ada opsi allow unrelated histories, setelah pake itu, semua bisa jalan normal lagi


git pull origin master --allow-unrelated-histories

git push origin master


solution found from : https://github.community/t5/How-to-use-Git-and-GitHub/How-to-deal-with-quot-refusing-to-merge-unrelated-histories-quot/m-p/16305#M5000