本地初始化的项目 与 github 版本不一致, 导致无法提交
$ git pull origin master
来自 https://github.com/itaken/python-login-demo
- branch master -> FETCH_HEAD
fatal: 拒绝合并无关的历史
解决方法
在pull 时候, 添加–allow-unrelated-histories参数 即可.
$ git pull origin master --allow-unrelated-histories
来自 https://github.com/itaken/python-login-demo
- branch master -> FETCH_HEAD
Merge made by the ‘recursive’ strategy.
LICENSE | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 LICENSE