git push rejected deal

There is something about the project and the history of inconsistent and 

Push refuse: push origin / master is denied 

Solution: Open the file you want to upload the code location of the folder, right-git Bash Here, execute the following two lines

git pull origin feat/security –allow-unrelated-histories

git push -u origin feat/security -f

Guess you like

Origin www.cnblogs.com/mabiao008/p/12293640.html