[Solved] Git push error: failed to push some refs to ‘[email protected]:daisy_yangyang/fed-e-task-04-01.git‘

reason:

In Git online warehouse, online and offline files are not synchronized

Solution:

(1) Git pull — rebase origin master pull online warehouse

(2)git add .

(3)git commit  – m ‘first-commit’

(4) Git push – U origin master

Read More: