[git] git push reject error 해결
·
Programming/Git
로컬 레파지토리에 새로운 파일을 생성한 후 git에 올리려고 하는데 다음과 같은 에러가 발생했다. $ git push origin master To https://github.com/XXXXXX/XXXXXXX.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'https://github.com/XXXXXX/XXXXXXX.git' hint: Updates were rejected because the tip of your current branch is hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ....