merge unrelated branches git bitbucket code example Example: refusing to merge unrelated histories bitbucket git pull --allow-unrelated-histories origin master