Tôi nhận được lỗi sau. Làm cách nào để giải quyết ?: git add. git commit -m 't' git push phát triển nguồn gốcGitHub - lỗi: không thể đẩy một số nội dung vào '[email protected]: myrepo.git'
To [email protected]:myrepo.git
! [rejected] development -> development (non-fast-forward)
error: failed to push some refs to '[email protected]:myrepo.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again. See the
'Note about fast-forwards' section of 'git push --help' for details.
'phát triển' trong thông báo trên đề cập đến nhánh bạn muốn kéo. Vì vậy, nếu bạn đang sử dụng nhánh 'master', bạn sẽ gõ:' git pull origin master' – Myna
Điều này làm việc hoàn hảo! –