Learning Git

Jul 1, 2020


Learning Git

The “fatal: refusing to merge unrelated histories” Git error

Solution

git pull origin master --allow-unrelated-histories

Set Up stream

git checkout mybranch
git branch --set-upstream-to=origin/mybranch

Learning Git | Java Tutorial