Archive of posts with category 'git'

Git-问题fatal: refusing to merge unrelated histories

问题出现: 本地已经一个仓库A,没有关联远程仓库,因此,从github创建了一个远程仓库B,并增加了一个README文件。现在要将二者进行关联: 在本地执行: 1 git remote add origin https://github.com/zjmmjzzjm/pythontips