ファイルを master ブランチ (コミット) に追加し、別のファイルを追加したいときに:
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/XXXX/helloWorld.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
私は本当にこの問題を抱えており、その背後にある論理はわかりません。この問題が発生する理由と、何をすべきか教えてください。
ありがとう