git fatal: reject the merger ahistorical error resolution

Local and github project initiated version is inconsistent, resulting in not submitting 
 
$ git pull origin master 
from HTTPS: // github.com/itaken/python-login-demo 
 * Branch Master -> FETCH_HEAD 
fatal: denial of history merge independent 
solutions 
 
in pull time, add -ALLOW -unrelated- Histories parameters can be. 
 
$ git pull Origin Master --allow-unrelated- Histories                    
from HTTPS: // github.com/itaken/python-login-demo 
 * Branch Master -> FETCH_HEAD 
Merge Made by at The ' recursive This ' at Strategy. 
 LICENSE | 21 +++++++++++++++++++++
  1 file changed, 21 insertions(+)
 create mode 100644 LICENSE

 

Guess you like

Origin www.cnblogs.com/fuyuteng/p/11819141.html